Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
null check.
James Cole3bf800be6e1b
diff --git a/app/Helpers/Attachments/AttachmentHelper.php b/app/Helpers/Attachments/AttachmentHelper.phpindex ff62f2fb4c..981a1a0a8a 100644--- a/app/Helpers/Attachments/AttachmentHelper.php+++ b/app/Helpers/Attachments/AttachmentHelper.php@@ -67,7 +67,9 @@ class AttachmentHelper implements AttachmentHelperInterface}}} else {- $this->processFile($files, $model);+ if (!is_null($files)) {+ $this->processFile($files, $model);+ }}return true;