Merge pull request #9279 from frederic34/patch-11
FIX Error message when sending a file with .virus extension
This commit is contained in:
commit
004b352e8e
@ -66,7 +66,7 @@ class AntiVir
|
||||
|
||||
if (preg_match('/\.virus$/i', $file))
|
||||
{
|
||||
$this->errors='File has an extension saying file is a virus';
|
||||
$this->errors[] = 'File has an extension saying file is a virus';
|
||||
return -97;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user