From d8947f95dcebc40bf7cd3b11cf92a35011e24fe8 Mon Sep 17 00:00:00 2001 From: vyshane Date: Thu, 5 Oct 2006 07:22:48 +0000 Subject: [PATCH] Merged fix for MDL-6819 --- calendar/lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/lib.php b/calendar/lib.php index f4be9d6412..018e2aca59 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -338,6 +338,7 @@ function calendar_get_popup($is_today, $event_timestart, $popupcontent='') { $popupcaption .= get_string('eventsfor', 'calendar', userdate($event_timestart, get_string('strftimedayshort'))); } $popupcontent = str_replace("'", "\'", htmlspecialchars($popupcontent)); + $popupcaption = str_replace("'", "\'", htmlspecialchars($popupcaption)); $popup = 'onmouseover="return overlib(\''.$popupcontent.'\', CAPTION, \''.$popupcaption.'\');" onmouseout="return nd();"'; return $popup; } -- 2.39.5