Commit 05db7853 authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix small booboo in my previous patch to add 'log in as' link to the user profile page.

(cherry picked from commit 879f456e)
parent 283ee178
......@@ -331,7 +331,7 @@ if ($loggedinid != $userid) {
}
if ($id != $USER->get('id') && is_null($USER->get('parentuser'))) {
if ($userid != $USER->get('id') && is_null($USER->get('parentuser'))) {
$loginas = get_string('loginasuser', 'admin', $user->username);
} else {
$loginas = null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment