From: moodler Date: Tue, 10 Feb 2004 14:36:12 +0000 (+0000) Subject: Don't print group pictures if none is defined X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=546b301b44178815d2a0dcd5e31fc87ccf29b83c;p=moodle.git Don't print group pictures if none is defined --- 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 .= "";