diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-08-18 07:43:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-08-18 07:43:44 +0000 |
commit | e7982b3815c2b6243fc120f8b72bede7bbcea740 (patch) | |
tree | 3221cdf0762c6e495c6e4d7cc0094d45355834ef | |
parent | 39996f511e77c0cfb436558d2ed2609914b60464 (diff) | |
download | brdo-e7982b3815c2b6243fc120f8b72bede7bbcea740.tar.gz brdo-e7982b3815c2b6243fc120f8b72bede7bbcea740.tar.bz2 |
- Patch #69228 by openwereld: profile field values that should be browse-able (clickable) are not displayed as such.
-rw-r--r-- | modules/profile/profile.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 0f3044072..a0f57a6dd 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -436,7 +436,7 @@ function profile_browse() { // Compile a list of fields to show. $fields = array(); - $result = db_query('SELECT name, title, type, weight FROM {profile_fields} WHERE fid != %d AND visibility = %d ORDER BY weight', $field->fid, PROFILE_PUBLIC_LISTINGS); + $result = db_query('SELECT name, title, type, weight, page FROM {profile_fields} WHERE fid != %d AND visibility = %d ORDER BY weight', $field->fid, PROFILE_PUBLIC_LISTINGS); while ($record = db_fetch_object($result)) { $fields[] = $record; } @@ -489,7 +489,7 @@ function profile_browse() { else { // Compile a list of fields to show. $fields = array(); - $result = db_query('SELECT name, title, type, weight FROM {profile_fields} WHERE visibility = %d ORDER BY category, weight', PROFILE_PUBLIC_LISTINGS); + $result = db_query('SELECT name, title, type, weight, page FROM {profile_fields} WHERE visibility = %d ORDER BY category, weight', PROFILE_PUBLIC_LISTINGS); while ($record = db_fetch_object($result)) { $fields[] = $record; } |