Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixed a bug where the source and destination account could be the same one.
James Colef81a475cc989
diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.phpindex 5b78595ec5..80cc33794d 100644--- a/app/Models/TransactionJournal.php+++ b/app/Models/TransactionJournal.php@@ -315,7 +315,7 @@ class TransactionJournal extends Model{$cache = new CacheProperties;$cache->addProperty($this->id);- $cache->addProperty('destinationAccount');+ $cache->addProperty('sourceAccount');if ($cache->has()) {return $cache->get(); // @codeCoverageIgnore}