mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Display bug for piggy banks with no reminders.
This commit is contained in:
@@ -74,6 +74,10 @@ class Piggybank extends Ardent
|
||||
/** @var \FireflyIII\Shared\Toolkit\Date $dateKit */
|
||||
$dateKit = App::make('FireflyIII\Shared\Toolkit\Date');
|
||||
|
||||
if(is_null($this->reminder)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
$start = new Carbon;
|
||||
$end = !is_null($this->targetdate) ? clone $this->targetdate : new Carbon;
|
||||
$reminders = 0;
|
||||
|
Reference in New Issue
Block a user