From 4e3ce3464d371b8b855238cd276843dfe5087513 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Fri, 16 Nov 2012 15:43:46 +0800 Subject: [PATCH] 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. --- calendar/renderer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/renderer.php b/calendar/renderer.php index 842ecc40c9a12..5a18073ddac83 100644 --- a/calendar/renderer.php +++ b/calendar/renderer.php @@ -800,6 +800,7 @@ protected function subscription_action_form($subscription, $courseid) { if ($k == $subscription->pollinterval) { $attributes['selected'] = 'selected'; } + $attributes['value'] = $k; $html .= html_writer::tag('option', $v, $attributes); } $html .= html_writer::end_tag('select');