mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 09:52:20 +00:00
Some code cleanup
This commit is contained in:
@@ -237,6 +237,7 @@ class AttachmentHelper implements AttachmentHelperInterface
|
|||||||
|
|
||||||
if (0 === $file->getSize()) {
|
if (0 === $file->getSize()) {
|
||||||
$this->errors->add('attachments', trans('validation.file_zero_length'));
|
$this->errors->add('attachments', trans('validation.file_zero_length'));
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user