// Fix leftover _error

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12374 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-01-11 16:54:25 +00:00
parent 368d3f0371
commit 1c069ae97f
4 changed files with 16 additions and 16 deletions
@@ -350,7 +350,7 @@ class AdminFeaturesControllerCore extends AdminController
if (Tools::isSubmit('deletefeature_value') || Tools::isSubmit('submitAddfeature_value'))
{
Hook::exec('displayFeatureValuePostProcess',
array('errors' => &$this->errors)); // send _errors as reference to allow displayFeatureValuePostProcess to stop saving process
array('errors' => &$this->errors)); // send errors as reference to allow displayFeatureValuePostProcess to stop saving process
if (Tools::isSubmit('deletefeature_value'))
{
@@ -407,7 +407,7 @@ class AdminFeaturesControllerCore extends AdminController
else
{
Hook::exec('displayFeaturePostProcess',
array('errors' => &$this->errors)); // send _errors as reference to allow displayFeaturePostProcess to stop saving process
array('errors' => &$this->errors)); // send errors as reference to allow displayFeaturePostProcess to stop saving process
if (Tools::getValue('submitDel'.$this->table))
{