[-] BO : fixed bug #PSCFV-2843 - Can't create first level admin tab
This commit is contained in:
1 parent
d7c2b95f5d
commit
1b18706254
1 file changed
+1
-1
@@ -271,7 +271,7 @@ class AdminTabsControllerCore extends AdminController
|
|||||||
else
|
else
|
||||||
Tools::redirectAdmin(self::$currentIndex.'&conf=5&token='.Tools::getAdminTokenLite('AdminTabs'));
|
Tools::redirectAdmin(self::$currentIndex.'&conf=5&token='.Tools::getAdminTokenLite('AdminTabs'));
|
||||||
}
|
}
|
||||||
elseif (Tools::isSubmit('submitAddtab') && Tools::getValue('id_tab') == Tools::getValue('id_parent'))
|
elseif (Tools::isSubmit('submitAddtab') && Tools::getValue('id_tab') === Tools::getValue('id_parent'))
|
||||||
$this->errors[] = Tools::displayError('You can\'t put this tab in itself');
|
$this->errors[] = Tools::displayError('You can\'t put this tab in itself');
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user