From e290e48690392b2e3f017af43ec996d95c8394f7 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 23 Sep 2004 03:17:25 +0000 Subject: [PATCH] Fixed string for user images --- lib/weblib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 0c29d3e844..a252c282ee 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1639,10 +1639,10 @@ function print_user_picture($userid, $courseid, $picture, $large=false, $returns } if ($picture) { // Print custom user picture if ($CFG->slasharguments) { // Use this method if possible for better caching - $output .= 'wwwroot .'/user/pix.php/'. $userid .'/'. $file .'.jpg"'. ' border="0" width="'. $size .'" height="'. $size .'" alt="" />'; } else { - $output .= 'wwwroot .'/user/pix.php?file=/'. $userid .'/'. $file .'.jpg"'. ' border="0" width="'. $size .'" height="'. $size .'" alt="" />'; } } else { // Print default user pictures (use theme version if available) @@ -2869,4 +2869,4 @@ function print_speller_button () { echo ''."\n"; } // vim:autoindent:expandtab:shiftwidth=4:tabstop=4:tw=140: -?> \ No newline at end of file +?> -- 2.39.5