From: martinlanghoff Date: Wed, 19 Sep 2007 07:55:29 +0000 (+0000) Subject: weblib: print_user_picture() fix typoed classname when faking user object X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c6f01310adb38e78470a00e2fe6e5e96c744d155;p=moodle.git weblib: print_user_picture() fix typoed classname when faking user object --- diff --git a/lib/weblib.php b/lib/weblib.php index f42d9f9c8e..6d32b520b9 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3737,7 +3737,7 @@ function print_user_picture($user, $courseid, $picture=NULL, $size=0, $return=fa // we need firstname, lastname, imagealt, can't escape... $needrec = true; } else { - $userobj = new StdObj; // fake it to save DB traffic + $userobj = new StdClass; // fake it to save DB traffic $userobj->id = $user; $userobj->picture = $picture; $user = $userobj;