From 33a7743691ba72089ede3baa5127b841b0dd2402 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Fri, 24 Aug 2012 07:57:32 +0000 Subject: [PATCH] // Fixed warning/error in updater #PSCFV-3736 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16989 b9a71923-0436-4b27-9f14-aed3839534dd --- .../php/p15014_copy_missing_images_tab_from_installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dev/upgrade/php/p15014_copy_missing_images_tab_from_installer.php b/install-dev/upgrade/php/p15014_copy_missing_images_tab_from_installer.php index 4841b1828..5f498f58a 100644 --- a/install-dev/upgrade/php/p15014_copy_missing_images_tab_from_installer.php +++ b/install-dev/upgrade/php/p15014_copy_missing_images_tab_from_installer.php @@ -41,7 +41,7 @@ function p15014_copy_missing_images_tab_from_installer() $img_dir = scandir($install_dir_path); foreach($img_dir as $dir) { - if ($dir[0] == '.') + if ($dir[0] == '.' || !is_dir($install_dir_path.$DIR_SEP.$dir)) continue; $img_subdir = scandir($install_dir_path.$DIR_SEP.$dir);