// Fixed getLogo()

This commit is contained in:
bMancone
2012-02-07 15:22:52 +00:00
parent 7ecbd84933
commit dc5dc78e53
+2 -2
View File
@@ -104,9 +104,9 @@ abstract class HTMLTemplateCore
{
$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');
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');
return $logo;