aboutsummaryrefslogtreecommitdiffstats
path: root/admin/search.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/search.php b/admin/search.php
index 4bfae3039..9a5b27ef4 100644
--- a/admin/search.php
+++ b/admin/search.php
@@ -74,7 +74,7 @@ if ( !empty($search_match) )
FROM " . USERS_TABLE . "
WHERE username LIKE '" . str_replace("\'", "''", $username_search) . "'
ORDER BY username";
- if ( !($result = mysql_query($sql)) )
+ if ( !($result = pwg_query($sql)) )
{
die('Could not obtain search results');
}