Permalink
Browse files

MDL-32605 calendar: Fixing the missing parameter for get_string call

  • Loading branch information...
1 parent a5f6ea2 commit fc14c79fc9815aff333221f670da51b1d07ed5ef @ankitagarwal ankitagarwal committed Apr 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/delete.php
View
@@ -108,7 +108,7 @@
if (!empty($event->eventrepeats) && $event->eventrepeats > 0) {
$url = new moodle_url(CALENDAR_URL.'delete.php', array('id'=>$event->repeatid, 'confirm'=>true, 'repeats'=>true));
$buttons .= $OUTPUT->single_button($url, get_string('deleteall'));
- $repeatspan = '<br /><br /><span>'.get_string('youcandeleteallrepeats', 'calendar').'</span>';
+ $repeatspan = '<br /><br /><span>'.get_string('youcandeleteallrepeats', 'calendar', $event->eventrepeats).'</span>';
}
// And add the cancel button

0 comments on commit fc14c79

Please sign in to comment.