Skip to content

Commit 52fcb7a

Browse files
committed
Fix generatedForm helper method calling
1 parent e8fb706 commit 52fcb7a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

classes/Form/ConfigurationForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function generate()
158158
$helper->fields_value['GA_CROSSDOMAIN_ENABLED'] = \Configuration::get('GA_CROSSDOMAIN_ENABLED');
159159
$helper->fields_value['GA_ANONYMIZE_ENABLED'] = \Configuration::get('GA_ANONYMIZE_ENABLED');
160160

161-
return $helper->generate($fields_form);
161+
return $helper->generateForm($fields_form);
162162
}
163163

164164
/**

classes/Hook/HookDisplayHeader.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ public function run()
8181
)
8282
);
8383

84-
return $this->module->display(__FILE__, 'ps_googleanalytics.tpl');
84+
return $this->module->display(
85+
$this->module->getLocalPath().$this->module->name,
86+
'ps_googleanalytics.tpl'
87+
);
8588
}
8689
}
8790

0 commit comments

Comments
 (0)