From 856f7cb7e6462c22ebb85d10a6496d857ef34672 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 24 Sep 2006 11:58:28 +0000 Subject: [PATCH] do not display guest when browsing users --- admin/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/user.php b/admin/user.php index 8cedaac3ee7..ae4deb62074 100644 --- a/admin/user.php +++ b/admin/user.php @@ -315,8 +315,8 @@ $table->align = array ("left", "left", "left", "left", "left", "center", "center", "center"); $table->width = "95%"; foreach ($users as $user) { - if ($user->username == 'changeme') { - continue; // do not dispaly dummy new user + if ($user->username == 'changeme' or $user->username == 'guest') { + continue; // do not dispaly dummy new user and guest here } if ($user->id == $USER->id) {