diff --git a/user/view.php b/user/view.php index c886c4b066a..b3d09e4d13f 100644 --- a/user/view.php +++ b/user/view.php @@ -289,7 +289,8 @@ // Print other functions echo '
'; - if ($currentuser and !isguest()) { + + if ($currentuser and !isguest() and !is_restricted_user($USER->username)) { if ($internalpassword ) { echo "
"; echo "id\" />";