From 6057c69f95a06ce6c824cd52dc6946f02e98a0ad Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 2 Jan 2014 10:07:51 +0100 Subject: [PATCH] session parameter is needed on TaxEngine::getInstance method --- core/lib/Thelia/Form/TaxCreationForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Thelia/Form/TaxCreationForm.php b/core/lib/Thelia/Form/TaxCreationForm.php index 65617e615..001bb3cf8 100644 --- a/core/lib/Thelia/Form/TaxCreationForm.php +++ b/core/lib/Thelia/Form/TaxCreationForm.php @@ -40,7 +40,7 @@ class TaxCreationForm extends BaseForm protected function buildForm($change_mode = false) { - $types = TaxEngine::getInstance()->getTaxTypeList(); + $types = TaxEngine::getInstance($this->getRequest()->getSession())->getTaxTypeList(); $typeList = array(); $requirementList = array(); foreach ($types as $type) {