[-] IN : Could not remove some tabs
This commit is contained in:
@@ -29,6 +29,6 @@ function remove_tab($tabname)
|
||||
Db::getInstance()->execute('
|
||||
DELETE t, l
|
||||
FROM `'._DB_PREFIX_.'tab` t LEFT JOIN `'._DB_PREFIX_.'tab_lang` l ON (t.id_tab = l.id_tab)
|
||||
WHERE t.`class_name` = '.pSQL($tabname));
|
||||
WHERE t.`class_name` = "'.pSQL($tabname).'"');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user