diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 09:55:18 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-12 09:55:18 +0000 |
commit | f865087dd43397488c1bd0c89bf7159f88be8792 (patch) | |
tree | 7a946ae4f81f356a375fea3e202f0620edd7184d /modules/user/user.module | |
parent | 991098b985bc6f31b902637180f9eba1c745de42 (diff) | |
download | brdo-f865087dd43397488c1bd0c89bf7159f88be8792.tar.gz brdo-f865087dd43397488c1bd0c89bf7159f88be8792.tar.bz2 |
#87241: Use absolute links for search results, to allow syndication.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 8fbd2be0d..5948c384a 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -433,7 +433,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)); + $find[] = array('title' => $account->name, 'link' => url('user/'. $account->uid, NULL, NULL, TRUE)); } return $find; } |