From 800fa68224db457d93e47fc414d2d47ca888bdec Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Fri, 2 Mar 2007 05:48:03 +0000 Subject: [PATCH] MDL-8633 - Initialised $output at head of function. --- lib/weblib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index f2ff2c9e106..87fa2a9e398 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3275,7 +3275,9 @@ function print_group_picture($group, $courseid, $large=false, $return=false, $li function print_png($url, $sizex, $sizey, $return, $parameters='alt=""') { global $CFG; static $recentIE; - + + $output = ''; + if (!isset($recentIE)) { $recentIE = check_browser_version('MSIE', '5.0'); }