Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Various changes.
James Cole47870cd50c95
diff --git a/app/Handlers/Events/UpdatedGroupEventHandler.php b/app/Handlers/Events/UpdatedGroupEventHandler.phpindex 3d70db5d11..4c936e74b3 100644--- a/app/Handlers/Events/UpdatedGroupEventHandler.php+++ b/app/Handlers/Events/UpdatedGroupEventHandler.php@@ -123,7 +123,7 @@ class UpdatedGroupEventHandlerif (1 === $group->transactionJournals->count()) {return;}- Log::debug(sprintf('Correct inconsistent accounts in group #%d', $group->id));+ Log::debug(sprintf('Validating inconsistent accounts in group #%d', $group->id));// first journal:/** @var TransactionJournal $first */$first = $group->transactionJournals()diff --git a/app/Jobs/MailError.php b/app/Jobs/MailError.phpindex 2c08727de5..e5657705fd 100644--- a/app/Jobs/MailError.php+++ b/app/Jobs/MailError.php@@ -68,13 +68,13 @@ class MailError extends Job implements ShouldQueue*/public function handle(){- $email = config('firefly.site_owner');+ $email = (string) config('firefly.site_owner');$args = $this->exception;$args['loggedIn'] = $this->userData['id'] > 0;$args['user'] = $this->userData;$args['ip'] = $this->ipAddress;$args['token'] = config('firefly.ipinfo_token');- if ($this->attempts() < 3) {+ if ($this->attempts() < 3 && strlen($email) > 0) {try {Mail::send(['emails.error-html', 'emails.error-text'],