mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Some code cleanup
This commit is contained in:
parent
060c9648f1
commit
441a8a8408
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user