From 9c756a7fcbf80d6c829194dd6ce2d4669816f2ce Mon Sep 17 00:00:00 2001 From: gRoussac Date: Sun, 8 Sep 2013 23:22:36 +0200 Subject: [PATCH] [-] IN : Do not duplicate images types when coming from 1.4, update it --- install-dev/upgrade/php/p15018_change_image_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dev/upgrade/php/p15018_change_image_types.php b/install-dev/upgrade/php/p15018_change_image_types.php index 37cc9c5d8..9e695a6fb 100644 --- a/install-dev/upgrade/php/p15018_change_image_types.php +++ b/install-dev/upgrade/php/p15018_change_image_types.php @@ -41,7 +41,7 @@ function p15018_change_image_types() ) ); - $option = (bool)Db::getInstance()->getValue('SELECT id_theme FROM `'._DB_PREFIX_.'theme` WHERE directory != "default"'); + $option = (bool)Db::getInstance()->getValue('SELECT id_theme FROM `'._DB_PREFIX_.'theme` WHERE directory != "default" AND directory != "prestashop"'); // If there is another theme than the default one, duplicate if ($option)