diff options
-rw-r--r-- | engine/lib/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php index ca68c0fed..f16f5c0f6 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -853,7 +853,7 @@ }
$query .= "from {$CONFIG->dbprefix}entities e join {$CONFIG->dbprefix}users_entity u on e.guid=u.guid where ";
// $query .= " match(u.name,u.username) against ('$criteria') ";
- $query .= "(u.name like \"%{$criteria}%\" or u.username like \"%{$criteria}%\")";
+ $query .= "(u.name like \"{$criteria}%\" or u.username like \"{$criteria}%\")";
$query .= " and $access";
if (!$count) {
|