From ea07cfacfcba92a2d05f71cb5c5d4f1a572a8305 Mon Sep 17 00:00:00 2001 From: fSerny Date: Tue, 29 May 2012 08:54:23 +0000 Subject: [PATCH] [-] BO : Warnings while getting modules logo has been fixed - Bug #PSCFV-2602 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15720 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/module/Module.php | 2 +- modules/blocknewsletter/config.xml | 6 +++--- modules/homeslider/config.xml | 4 ++-- modules/mailalerts/config.xml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/classes/module/Module.php b/classes/module/Module.php index af8430c6e..ca192616c 100644 --- a/classes/module/Module.php +++ b/classes/module/Module.php @@ -1112,7 +1112,7 @@ abstract class ModuleCore if (isset($modaddons->img)) { if (!file_exists('../img/tmp/'.md5($modaddons->name).'.jpg')) - copy($modaddons->img, '../img/tmp/'.md5($modaddons->name).'.jpg'); + @copy($modaddons->img, '../img/tmp/'.md5($modaddons->name).'.jpg'); if (file_exists('../img/tmp/'.md5($modaddons->name).'.jpg')) $item->image = '../img/tmp/'.md5($modaddons->name).'.jpg'; } diff --git a/modules/blocknewsletter/config.xml b/modules/blocknewsletter/config.xml index c9d08d864..15b6e2ed3 100755 --- a/modules/blocknewsletter/config.xml +++ b/modules/blocknewsletter/config.xml @@ -1,12 +1,12 @@ blocknewsletter - + - + - Are you sure you want to delete all your contacts ? + Êtes-vous sûr de vouloir supprimer tous vos contacts ? 1 0 diff --git a/modules/homeslider/config.xml b/modules/homeslider/config.xml index cab3ae299..fd13dd124 100644 --- a/modules/homeslider/config.xml +++ b/modules/homeslider/config.xml @@ -1,9 +1,9 @@ homeslider - + - + 1 diff --git a/modules/mailalerts/config.xml b/modules/mailalerts/config.xml index 8af979fc4..7123dd8a8 100755 --- a/modules/mailalerts/config.xml +++ b/modules/mailalerts/config.xml @@ -1,12 +1,12 @@ mailalerts - + - + - Are you sure you want to delete all customer notifications? + Êtes-vous sûr de vouloir supprimer toutes les notifications clients ? 1 0