Fixed: Getting Fatal error while trying to use filter in the admin tabs controller

This commit is contained in:
vishalsingh.qlo325
2024-09-25 12:53:31 +05:30
parent 589dd8305f
commit 3f35fdd0d7

View File

@@ -324,7 +324,7 @@ class AdminTabsControllerCore extends AdminController
break;
}
}
} else {
} else if ($this->display == 'add') {
// 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'));