From f81a475cc989292ca254d0a97ce3e4285e785f93 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 8 Jun 2015 18:40:52 +0200 Subject: [PATCH] Fixed a bug where the source and destination account could be the same one. --- app/Models/TransactionJournal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.php index 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 }