// Fixed getLogo()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13079 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
af36db31bd
commit
3f6b317c1b
1 file changed
+2
-2
@@ -104,9 +104,9 @@ abstract class HTMLTemplateCore
|
|||||||
{
|
{
|
||||||
$logo = '';
|
$logo = '';
|
||||||
|
|
||||||
if (file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE')))
|
if (Configuration::get('PS_LOGO_INVOICE') != false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE')))
|
||||||
$logo = _PS_IMG_.Configuration::get('PS_LOGO_INVOICE');
|
$logo = _PS_IMG_.Configuration::get('PS_LOGO_INVOICE');
|
||||||
else if (file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO')))
|
else if (Configuration::get('PS_LOGO') != false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO')))
|
||||||
$logo = _PS_IMG_.Configuration::get('PS_LOGO');
|
$logo = _PS_IMG_.Configuration::get('PS_LOGO');
|
||||||
|
|
||||||
return $logo;
|
return $logo;
|
||||||
|
|||||||
Reference in new issue
Block a user