mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
loginas.php parameter typo
This commit is contained in:
parent
212039c0d8
commit
01eb4f5f21
1 changed files with 1 additions and 1 deletions
|
@ -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&return=$realuser->id\">$fullname</a>] ";
|
||||
href=\"$CFG->wwwroot/course/loginas.php?id=$course->id&return=1\">$fullname</a>] ";
|
||||
}
|
||||
} else {
|
||||
$realuserinfo = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue