diff --git a/repeating_dates.widget_form.inc b/repeating_dates.widget_form.inc index f402576..95d4335 100644 --- a/repeating_dates.widget_form.inc +++ b/repeating_dates.widget_form.inc @@ -465,8 +465,10 @@ function _repeating_dates_weekday_options() { } $days = $after + $before; } + else { + $days = array_combine($ical_keys, $days); + } $days['any'] = t('Day (any)'); - return $days; }