MDL-36351 Calendar: Poll interval for existing subscriptions will update
Pollinterval option value was not set, which was returning string, expected is int. Added int as pollinterval option value.
This commit is contained in:
@@ -800,6 +800,7 @@ class core_calendar_renderer extends plugin_renderer_base {
|
||||
if ($k == $subscription->pollinterval) {
|
||||
$attributes['selected'] = 'selected';
|
||||
}
|
||||
$attributes['value'] = $k;
|
||||
$html .= html_writer::tag('option', $v, $attributes);
|
||||
}
|
||||
$html .= html_writer::end_tag('select');
|
||||
|
||||
Reference in New Issue
Block a user