[-] WS: #PSCFV-5982 logo email/invoices/mail don't return standard logo if not exists
This commit is contained in:
@@ -387,7 +387,7 @@ class WebserviceSpecificManagementImagesCore implements WebserviceSpecificManage
|
||||
{
|
||||
case 'GET':
|
||||
case 'HEAD':
|
||||
$this->imgToDisplay = ($path != '' && file_exists($path)) ? $path : $alternative_path;
|
||||
$this->imgToDisplay = ($path != '' && file_exists($path) && is_file($path)) ? $path : $alternative_path;
|
||||
return true;
|
||||
break;
|
||||
case 'PUT':
|
||||
|
||||
Reference in New Issue
Block a user