[-] IN : Do not duplicate images types when coming from 1.4, update it

This commit is contained in:
gRoussac
2013-09-08 23:22:36 +02:00
parent 6b03af9ef9
commit 9c756a7fcb
@@ -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)