mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 00:04:24 +00:00
Should fix tests.
This commit is contained in:
@@ -139,10 +139,10 @@ class TransactionJournal extends Model
|
||||
$prop = new CacheProperties();
|
||||
$prop->addProperty($this->id);
|
||||
$prop->addProperty('amount');
|
||||
$md5 = $prop->md5();
|
||||
if (Cache::has($md5)) {
|
||||
return Cache::get($md5);
|
||||
if ($prop->has()) {
|
||||
return $prop->get();
|
||||
}
|
||||
$md5 = $prop->getMd5();
|
||||
|
||||
|
||||
$amount = '0';
|
||||
|
Reference in New Issue
Block a user