[-] BO : Employee's default_tab may not exists, switching to AdminOrders
This commit is contained in:
1 parent
df0a24d63c
commit
7a7da1097d
1 file changed
+1
-1
@@ -14,4 +14,4 @@ ALTER TABLE `PREFIX_manufacturer_lang` CHANGE `short_description` `short_descrip
|
|||||||
/* PHP:remove_tab(AdminRangePrice); */;
|
/* PHP:remove_tab(AdminRangePrice); */;
|
||||||
/* PHP:remove_tab(AdminRangeWeight); */;
|
/* PHP:remove_tab(AdminRangeWeight); */;
|
||||||
|
|
||||||
UPDATE `PREFIX_employee` SET default_tab = 1 WHERE default_tab = 0;
|
UPDATE `PREFIX_employee` SET default_tab = (SELECT `id_tab` FROM `PREFIX_tab` WHERE `class_name` LIKE 'AdminOrders' LIMIT 0 , 1) WHERE default_tab = 0;
|
||||||
Reference in new issue
Block a user