aboutsummaryrefslogtreecommitdiffstats
path: root/admin/search.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-12-03 16:30:12 +0000
committergweltas <gweltas@piwigo.org>2004-12-03 16:30:12 +0000
commit6fa03e0cca6855e041de004d49e0dd1b03bd644f (patch)
treeae05c6a88f896de2ab4ffea8d98641f1996e2be3 /admin/search.php
parentb35dc19ab6da173cc663e49cb32389d7e6dbfdee (diff)
- User control panel update (user side)
- User control panel update (admin side) - Add of registration link on the main page - Minor bug correction for group management git-svn-id: http://piwigo.org/svn/trunk@631 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/search.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/search.php b/admin/search.php
index 485f8322a..f1716ff84 100644
--- a/admin/search.php
+++ b/admin/search.php
@@ -73,7 +73,8 @@ if ( !empty($search_match) )
$sql = "SELECT username
FROM " . USERS_TABLE . "
WHERE username LIKE '" . str_replace("\'", "''", $username_search) . "'
- ORDER BY username";
+ AND id <> ".ANONYMOUS."
+ ORDER BY username";
if ( !($result = pwg_query($sql)) )
{
die('Could not obtain search results');