From: nicolasconnault Date: Thu, 6 Aug 2009 02:24:59 +0000 (+0000) Subject: MDL-19793 Migrated calls to print_spacer() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=722e24c4c48fc3b1ce84890586beb2f7dc4bfba0;p=moodle.git MDL-19793 Migrated calls to print_spacer() --- diff --git a/calendar/lib.php b/calendar/lib.php index cd95bd69fa..aec754a26c 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -521,7 +521,10 @@ function calendar_print_event($event) { if (!empty($event->icon)) { echo $event->icon; } else { - print_spacer(16,16); + $spacer = new html_image(); + $spacer->height = 16; + $spacer->width = 16; + echo $OUTPUT->spacer($spacer) . '
'; } echo ''; echo '';