diff --git a/src/EventCreationService.php b/src/EventCreationService.php index 5ac307071b6edf688cd275791273d69a9ceec11a..5d055215731717b77db3376c120e9d2dbaeb335e 100644 --- a/src/EventCreationService.php +++ b/src/EventCreationService.php @@ -220,10 +220,12 @@ class EventCreationService { $config['type'] = $user_input['recur_type']; - $config['excluded_dates'] = $config['included_dates'] = []; + $config['excluded_dates'] = []; if (!empty($user_input['excluded_dates'])) { $config['excluded_dates'] = $this->getDatesFromForm($user_input['excluded_dates']); } + + $config['included_dates'] = []; if (!empty($user_input['included_dates'])) { $config['included_dates'] = $this->getDatesFromForm($user_input['included_dates']); }