From 7fd9aa5c8af5c2f20921c7096ad07f72da7bf7f8 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 31 Aug 2006 23:31:25 +0000 Subject: #69786: jQuery JavaScript Library in Drupal core --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index 27bfaf014..2dc1213a5 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2358,7 +2358,7 @@ function _user_forms(&$edit, $account, $category, $hook = 'form') { /** * Retrieve a pipe delimited string of autocomplete suggestions for existing users */ -function user_autocomplete($string) { +function user_autocomplete($string = '') { $matches = array(); $result = db_query_range("SELECT name FROM {users} WHERE LOWER(name) LIKE LOWER('%s%%')", $string, 0, 10); while ($user = db_fetch_object($result)) { -- cgit v1.2.3