From c6f01310adb38e78470a00e2fe6e5e96c744d155 Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Wed, 19 Sep 2007 07:55:29 +0000 Subject: [PATCH] weblib: print_user_picture() fix typoed classname when faking user object --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5