Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Another fix for #1583
James Colea1e2dac65805
diff --git a/app/Factory/TransactionFactory.php b/app/Factory/TransactionFactory.phpindex ab66656da7..611ca37a93 100644--- a/app/Factory/TransactionFactory.php+++ b/app/Factory/TransactionFactory.php@@ -120,8 +120,8 @@ class TransactionFactoryLog::debug(sprintf('Expect source destination to be of type "%s"', $destinationType));// find source and destination account:- $sourceAccount = $this->findAccount($sourceType, $data['source_id'], $data['source_name']);- $destinationAccount = $this->findAccount($destinationType, $data['destination_id'], $data['destination_name']);+ $sourceAccount = $this->findAccount($sourceType, (int)$data['source_id'], $data['source_name']);+ $destinationAccount = $this->findAccount($destinationType, (int)$data['destination_id'], $data['destination_name']);if (null === $sourceAccount || null === $destinationAccount) {$debugData = $data;