[-] CORE : fixed bug #PSCFV-4634 - Object::cleanPosition() is no longer call in controller but in Object::delete();
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user