From 5ea794081d9e68546db1c2ae169e411d1eb11a37 Mon Sep 17 00:00:00 2001 From: fBrignoli Date: Wed, 6 Jun 2012 13:53:39 +0000 Subject: [PATCH] // prefix 2nd time --- install-dev/upgrade/php/drop_image_type_non_unique_index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dev/upgrade/php/drop_image_type_non_unique_index.php b/install-dev/upgrade/php/drop_image_type_non_unique_index.php index 5a6c96eed..ad6e0ec4b 100644 --- a/install-dev/upgrade/php/drop_image_type_non_unique_index.php +++ b/install-dev/upgrade/php/drop_image_type_non_unique_index.php @@ -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.'"'); }