loginas.php parameter typo

This commit is contained in:
skodak 2006-03-03 19:50:33 +00:00
parent 212039c0d8
commit 01eb4f5f21

View file

@ -2357,7 +2357,7 @@ function user_login_string($course=NULL, $user=NULL) {
if ($realuser = get_record('user', 'id', $user->realuser)) {
$fullname = fullname($realuser, true);
$realuserinfo = " [<a target=\"{$CFG->framename}\"
href=\"$CFG->wwwroot/course/loginas.php?id=$course->id&amp;return=$realuser->id\">$fullname</a>] ";
href=\"$CFG->wwwroot/course/loginas.php?id=$course->id&amp;return=1\">$fullname</a>] ";
}
} else {
$realuserinfo = '';