From 546b301b44178815d2a0dcd5e31fc87ccf29b83c Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 10 Feb 2004 14:36:12 +0000 Subject: [PATCH] Don't print group pictures if none is defined --- lib/weblib.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 15f29e2405..0447de49d6 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1242,9 +1242,6 @@ function print_group_picture($group, $courseid, $large=false, $returnstring=fals $output .= "wwwroot/user/pixgroup.php?file=/$group->id/$file.jpg\"". " border=\"0\" width=\"$size\" height=\"$size\" alt=\"\" />"; } - } else { // Print default user pictures (use theme version if available) - $output .= "pixpath/g/$file.png\"". - " border=\"0\" width=\"$size\" height=\"$size\" alt=\"\" />"; } if ($link) { $output .= ""; -- 2.39.5