[-] CORE : fixed bug #PSCFV-4634 - Object::cleanPosition() is no longer call in controller but in Object::delete();

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17708 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-10-03 09:36:25 +00:00
parent 10d3b0d127
commit 6e74fd59d1
6 changed files with 12 additions and 8 deletions
+4 -1
View File
@@ -278,8 +278,11 @@ class AdminTabsControllerCore extends AdminController
// Temporary add the position depend of the selection of the parent category
if (!Tools::isSubmit('id_tab')) // @todo Review
$_POST['position'] = Tab::getNbTabs(Tools::getValue('id_parent'));
parent::postProcess();
}
if (!count($this->errors))
parent::postProcess();
}
protected function afterImageUpload()