// 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
This commit is contained in:
1 parent
d3c705ab91
commit
33a7743691
1 file changed
+1
-1
@@ -41,7 +41,7 @@ function p15014_copy_missing_images_tab_from_installer()
|
|||||||
$img_dir = scandir($install_dir_path);
|
$img_dir = scandir($install_dir_path);
|
||||||
foreach($img_dir as $dir)
|
foreach($img_dir as $dir)
|
||||||
{
|
{
|
||||||
if ($dir[0] == '.')
|
if ($dir[0] == '.' || !is_dir($install_dir_path.$DIR_SEP.$dir))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$img_subdir = scandir($install_dir_path.$DIR_SEP.$dir);
|
$img_subdir = scandir($install_dir_path.$DIR_SEP.$dir);
|
||||||
|
|||||||
Reference in new issue
Block a user