[-] IN : Could not remove some tabs

This commit is contained in:
gRoussac
2013-09-16 15:02:12 +02:00
parent e68c124218
commit 8504574ae1
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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).'"');
}