mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some last minute fixes.
This commit is contained in:
@@ -190,10 +190,12 @@ class Navigation
|
||||
return $currentEnd;
|
||||
}
|
||||
|
||||
|
||||
if (!isset($functionMap[$repeatFreq])) {
|
||||
throw new FireflyException(sprintf('Cannot do endOfPeriod for $repeat_freq "%s"', $repeatFreq));
|
||||
}
|
||||
$function = $functionMap[$repeatFreq];
|
||||
|
||||
if (isset($modifierMap[$repeatFreq])) {
|
||||
$currentEnd->$function($modifierMap[$repeatFreq]);
|
||||
|
||||
|
Reference in New Issue
Block a user