mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Fixed a bug where the source and destination account could be the same one.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user