diff --git a/modules/user.module b/modules/user.module index 6fba6771dc8..12303ff22fb 100644 --- a/modules/user.module +++ b/modules/user.module @@ -454,7 +454,7 @@ function user_search($op = 'search', $keys = null) { $keys = preg_replace('!\*+!', '%', $keys); $result = pager_query("SELECT * FROM {users} WHERE LOWER(name) LIKE LOWER('%%%s%%')", 15, 0, NULL, $keys); while ($account = db_fetch_object($result)) { - $find[] = array('title' => $account->name, 'link' => url("user/$account->uid/view")); + $find[] = array('title' => $account->name, 'link' => url('user/'. $account->uid)); } return $find; } diff --git a/modules/user/user.module b/modules/user/user.module index 6fba6771dc8..12303ff22fb 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -454,7 +454,7 @@ function user_search($op = 'search', $keys = null) { $keys = preg_replace('!\*+!', '%', $keys); $result = pager_query("SELECT * FROM {users} WHERE LOWER(name) LIKE LOWER('%%%s%%')", 15, 0, NULL, $keys); while ($account = db_fetch_object($result)) { - $find[] = array('title' => $account->name, 'link' => url("user/$account->uid/view")); + $find[] = array('title' => $account->name, 'link' => url('user/'. $account->uid)); } return $find; }