// prefix 2nd time

This commit is contained in:
fBrignoli
2012-06-06 13:53:39 +00:00
parent 9def68befe
commit 5ea794081d
@@ -27,7 +27,7 @@
function drop_image_type_non_unique_index()
{
$index = Db::getInstance()->executeS('SHOW index FROM `'._DB_PREFIX_.'image_type where column_name = "name" and non_unique=1');
$index = Db::getInstance()->executeS('SHOW index FROM `'._DB_PREFIX_.'image_type` where column_name = "name" and non_unique=1');
// do not use pSql, this function is not defined
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'image_type` DROP INDEX "'.$index.'"');
}