From 971e6fde9362fdbfd9d90cd1980cea79fcf0ebe4 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 2 Oct 2012 08:35:39 +0000 Subject: [PATCH] // Fixed renaming of supplier images #PSCFV-4530 --- 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 57793774b..e7d1bfecb 100644 --- a/install-dev/upgrade/php/p15018_change_image_types.php +++ b/install-dev/upgrade/php/p15018_change_image_types.php @@ -83,7 +83,7 @@ function p15018_change_image_types() } // Then the other entities (if there is less than 500 products, that should not be a problem) - $directories = array('p', 'c', 'm', 's', 'scenes', 'scenes'.DIRECTORY_SEPARATOR.'thumbs', 'st'); + $directories = array('p', 'c', 'm', 's', 'su', 'scenes', 'scenes'.DIRECTORY_SEPARATOR.'thumbs', 'st'); foreach ($directories as $directory) foreach (scandir(_PS_ROOT_DIR_.DIRECTORY_SEPARATOR.'img'.DIRECTORY_SEPARATOR.$directory) as $file) {