mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Switch should have default thing.
This commit is contained in:
@@ -103,8 +103,8 @@ class RecurrenceController extends Controller
|
||||
$repetition->repetition_skip = (int) $request->get('skip');
|
||||
$repetition->weekend = (int) $request->get('weekend');
|
||||
$actualEnd = clone $end;
|
||||
$occurrences = [];
|
||||
switch ($endsAt) {
|
||||
default:
|
||||
case 'forever':
|
||||
// simply generate up until $end. No change from default behavior.
|
||||
$occurrences = $this->recurring->getOccurrencesInRange($repetition, $actualStart, $actualEnd);
|
||||
|
Reference in New Issue
Block a user