Merge pull request #1233 from vishal-singh-webkul/gli-2312

Fixed: Getting Fatal error while trying to use filter in the AdminTabsController in the back-office.
This commit is contained in:
Rohit Jain
2024-09-30 16:26:18 +05:30
committed by GitHub

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'));