Merge pull request #180 from lunika/170-pdf-template-definition

This PR was merged into thelia:master branch.

Discussion
----------

Fix pdf generation

                        
| Q             | A    |
| ---           | ---  |
| Bug fix?      | y    |
| New feature?  | n    |
| BC breaks?    | n    |
| Deprecations? | n    |
| Tests pass?   | y    |
| Fixed tickets | #170 |
| License       | GPL  |
| Doc PR        |      |
                        


Commits
-------

9b81e88946 fix pdf generation. Fix #170 lunika
This commit is contained in:
Manuel Raynaud
2014-01-17 03:26:48 -08:00

View File

@@ -233,7 +233,7 @@ abstract class BaseController extends ContainerAware
array(
'order_id' => $order_id
),
TemplateHelper::getInstance()->getActivePdfTemplate()->getPath()
TemplateHelper::getInstance()->getActivePdfTemplate()
);
$order = OrderQuery::create()->findPk($order_id);