Merge pull request #9279 from frederic34/patch-11

FIX Error message when sending a file with .virus extension
This commit is contained in:
Laurent Destailleur 2018-08-28 01:26:04 +02:00 committed by GitHub
commit 004b352e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}