Commit 4b059b0f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Escape admin's name in masquerade string


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 0ea122d7
......@@ -521,7 +521,7 @@ EOF;
$smarty->assign('masqueradedetails', get_string('youaremasqueradingas', 'mahara', hsc(display_name($USER))));
$smarty->assign('becomeyouagain',
' <a href="' . hsc($wwwroot) . 'admin/users/changeuser.php?restore=1">'
. get_string('becomeadminagain', 'admin', $USER->get('parentuser')->name)
. get_string('becomeadminagain', 'admin', hsc($USER->get('parentuser')->name))
. '</a>');
}
......
Markdown is supported
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