Permalink
Browse files

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.
  • Loading branch information...
1 parent 8ccaa29 commit 4e3ce3464d371b8b855238cd276843dfe5087513 @rajeshtaneja rajeshtaneja committed Nov 16, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 calendar/renderer.php
View
1 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');

0 comments on commit 4e3ce34

Please sign in to comment.