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:
Rajesh Taneja
2012-11-16 15:44:00 +08:00
parent 8ccaa296fa
commit 4e3ce3464d
+1
View File
@@ -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');