Removed scrutinizer warning
This commit is contained in:
parent
b32ffdbbb9
commit
897a2b09a7
@ -1350,10 +1350,10 @@ class CMailFile
|
||||
// Build the list of image extensions
|
||||
$extensions = array_keys($this->image_types);
|
||||
|
||||
|
||||
$matches = array();
|
||||
preg_match_all('/(?:"|\')([^"\']+\.('.implode('|', $extensions).'))(?:"|\')/Ui', $this->html, $matches); // If "xxx.ext" or 'xxx.ext' found
|
||||
|
||||
if ($matches)
|
||||
if (! empty($matches))
|
||||
{
|
||||
$i=0;
|
||||
foreach ($matches[1] as $full)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user