Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-36303 Calendar: remove html special chars from event link in cale…

…ndar block
  • Loading branch information...
commit cfa4a78b758c69640b17af5c3ba70235d25c18db 1 parent 7e8ae12
@rajeshtaneja rajeshtaneja authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 calendar/lib.php
View
4 calendar/lib.php
@@ -332,7 +332,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
} else if(isset($typesbyday[$day]['startuser'])) {
$class .= ' calendar_event_user';
}
- $cell = html_writer::link((string)$dayhref, $day, array('aria-controls' => $popupid.'_panel', 'id' => $popupid));
+ $cell = html_writer::link($dayhref, $day, array('aria-controls' => $popupid.'_panel', 'id' => $popupid));
} else {
$cell = $day;
}
@@ -375,7 +375,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
if(! isset($eventsbyday[$day])) {
$class .= ' eventnone';
$popupid = calendar_get_popup(true, false);
- $cell = html_writer::link('#', $day, array('aria-controls' => $popupid.'_panel', 'id' => $popupid));;
+ $cell = html_writer::link('#', $day, array('aria-controls' => $popupid.'_panel', 'id' => $popupid));
}
$cell = get_accesshide($today.' ').$cell;
}
Please sign in to comment.
Something went wrong with that request. Please try again.