diff options
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module index 4ade502e4..e6efac5bd 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1930,7 +1930,7 @@ function _user_forms(&$edit, $account, $category, $hook = 'form') { */ function user_autocomplete($string) { $matches = array(); - $result = db_query_range('SELECT name FROM {users} WHERE LOWER(name) LIKE LOWER("%s%%")', $string, 0, 10); + $result = db_query_range("SELECT name FROM {users} WHERE LOWER(name) LIKE LOWER('%s%%')", $string, 0, 10); while ($user = db_fetch_object($result)) { $matches[$user->name] = check_plain($user->name); } |