calendar/lib.php MDL-25525 - Tooltip icons broken
authorAdam Olley <adam.olley@netspot.com.au>
Mon, 3 Jan 2011 18:26:50 +0000 (18:26 +0000)
committerDan Poltawski <dan.poltawski@luns.net.uk>
Mon, 3 Jan 2011 18:26:50 +0000 (18:26 +0000)
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
calendar/lib.php

index ff8fe33..3b6693f 100644 (file)
@@ -273,7 +273,7 @@ function calendar_get_mini($courses, $groups, $users, $cal_month = false, $cal_y
                 $dayhref->set_anchor('event_'.$event->id);
 
                 $popupcontent .= html_writer::start_tag('div');
-                $popupcontent .= $OUTPUT->pix_icon($popupicon, $popupalt);
+                $popupcontent .= $OUTPUT->pix_icon($popupicon, $popupalt, $component);
                 $popupcontent .= html_writer::link($dayhref, format_string($event->name, true));
                 $popupcontent .= html_writer::end_tag('div');
             }