mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 02:45:58 +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 = new CacheProperties;
|
||||||
$cache->addProperty($this->id);
|
$cache->addProperty($this->id);
|
||||||
$cache->addProperty('destinationAccount');
|
$cache->addProperty('sourceAccount');
|
||||||
if ($cache->has()) {
|
if ($cache->has()) {
|
||||||
return $cache->get(); // @codeCoverageIgnore
|
return $cache->get(); // @codeCoverageIgnore
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user