Avoid login as himself to teachers. One missing USER

variable was the cause ;-)
This commit is contained in:
stronk7 2004-03-14 02:17:26 +00:00
parent e47543451e
commit 54be24ecec

View File

@ -1180,7 +1180,7 @@ function print_user_picture($userid, $courseid, $picture, $large=false, $returns
function print_user($user, $course) {
/// Prints a summary of a user in a nice little box
global $CFG;
global $CFG,$USER;
static $string;
static $datestring;