[-] BO : Warnings while getting modules logo has been fixed - Bug #PSCFV-2602
This commit is contained in:
1 parent
cebd95901d
commit
dec6ce1108
4 files changed
+9
-9
No files matched your search
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user