|
@@ -39,9 +39,9 @@ |
|
|
block discarded – undo |
|
39
|
39
|
$guessedFileExtension = strtolower($file->guessExtension()); |
|
40
|
40
|
|
|
41
|
41
|
if (!in_array($guessedFileExtension, $this->allowedTypes)) { |
|
42
|
|
- $this->errors[] = 'Files of "' . $guessedFileExtension . '" type are not allowed'; |
|
|
42
|
+ $this->errors[] = 'Files of "' . $guessedFileExtension . '" type are not allowed'; |
|
43
|
43
|
|
|
44
|
|
- return false; |
|
|
44
|
+ return false; |
|
45
|
45
|
} |
|
46
|
46
|
|
|
47
|
47
|
if (!in_array($fileExtension, $this->allowedTypes)) { |
Please login to merge, or discard this patch.