From 0000c2e401290042d7d4eb140acd0f1652f13176 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 9 May 2001 18:28:09 +0000 Subject: - Code review: improved search API, tidied up the search related code, and fixed a tiny bug when searching for users. --- modules/account.module | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/account.module') diff --git a/modules/account.module b/modules/account.module index 8480e540f..5f77c995b 100644 --- a/modules/account.module +++ b/modules/account.module @@ -32,12 +32,11 @@ function account_help() { $account->userid, "link" => (user_access($user, "account") ? "admin.php?mod=account&op=view&name=$account->userid" : "account.php?op=view&name=$account->userid"), "user" => $account->userid)); + $find[$i++] = array("title" => $account->userid, "link" => (user_access($user, "account") ? "admin.php?mod=account&op=view&name=$account->userid" : "account.php?op=view&name=$account->userid"), "user" => $account->userid); } return $find; } -- cgit v1.2.3