Skip to content

Commit

Permalink
MDL-36351 Calendar: Poll interval for existing subscriptions will update
Browse files Browse the repository at this point in the history
Pollinterval option value was not set, which was returning string, expected is int.
Added int as pollinterval option value.
  • Loading branch information
Rajesh Taneja committed Nov 16, 2012
1 parent 8ccaa29 commit 4e3ce34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions calendar/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 4e3ce34

Please sign in to comment.