session parameter is needed on TaxEngine::getInstance method
This commit is contained in:
@@ -40,7 +40,7 @@ class TaxCreationForm extends BaseForm
|
|||||||
|
|
||||||
protected function buildForm($change_mode = false)
|
protected function buildForm($change_mode = false)
|
||||||
{
|
{
|
||||||
$types = TaxEngine::getInstance()->getTaxTypeList();
|
$types = TaxEngine::getInstance($this->getRequest()->getSession())->getTaxTypeList();
|
||||||
$typeList = array();
|
$typeList = array();
|
||||||
$requirementList = array();
|
$requirementList = array();
|
||||||
foreach ($types as $type) {
|
foreach ($types as $type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user