diff --git a/user/view.php b/user/view.php index 6904188b43f..49310711cd2 100644 --- a/user/view.php +++ b/user/view.php @@ -246,7 +246,7 @@ // Print other functions echo '
'; - if ($currentuser and !isguest()) { + if ($currentuser and !isguest() and is_restricted_user($currentuser->username)) { if ($internalpassword ) { echo "
"; echo "id\" />";