Fixed bugs!

This commit is contained in:
James Cole
2014-12-15 18:16:48 +01:00
parent f9ab49911d
commit 16678aa5e1
4 changed files with 12 additions and 5 deletions

View File

@@ -70,6 +70,9 @@ class RecurringTransaction extends Eloquent
* The date Firefly tries to find. If this stays null, it's "unknown".
*/
$finalDate = null;
if ($this->active == 0) {
return $finalDate;
}
/*
* $today is the start of the next period, to make sure FF3 won't miss anything