From 665c9fdc2ca50f7960c16b375685485b3eb8b1cc Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 26 Feb 2009 07:30:29 +0000 Subject: Roll-back of users -> user table name change in #330983: Broken pgsql is no fun. --- modules/user/user.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.pages.inc') diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index c96a75251..581ac683a 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -12,7 +12,7 @@ function user_autocomplete($string = '') { $matches = array(); if ($string) { - $result = db_query_range("SELECT name FROM {user} WHERE LOWER(name) LIKE LOWER(:name)", array(':name' => $string .'%'), 0, 10); + $result = db_query_range("SELECT name FROM {users} WHERE LOWER(name) LIKE LOWER(:name)", array(':name' => $string .'%'), 0, 10); while ($user = db_fetch_object($result)) { $matches[$user->name] = check_plain($user->name); } -- cgit v1.2.3