diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-02 16:11:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-02 16:11:31 +0000 |
commit | ad41b6dd93814fa29e8cef00061093e3a235c4ae (patch) | |
tree | f22b094c5916d8209c69a4a2f4a75a5659cdea81 /modules/profile/profile.pages.inc | |
parent | b65907b89cee44f311a038b391384286772ac74d (diff) | |
download | brdo-ad41b6dd93814fa29e8cef00061093e3a235c4ae.tar.gz brdo-ad41b6dd93814fa29e8cef00061093e3a235c4ae.tar.bz2 |
- Patch #326607 by Ozeuss: fixed undefined property.
Diffstat (limited to 'modules/profile/profile.pages.inc')
-rw-r--r-- | modules/profile/profile.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc index 4c1e3678c..fa8dbef31 100644 --- a/modules/profile/profile.pages.inc +++ b/modules/profile/profile.pages.inc @@ -82,7 +82,7 @@ function profile_browse() { else { // Compile a list of fields to show. $fields = array(); - $result = db_query('SELECT name, title, type, weight, page FROM {profile_fields} WHERE visibility = %d ORDER BY category, weight', PROFILE_PUBLIC_LISTINGS); + $result = db_query('SELECT name, title, type, weight, page, visibility FROM {profile_fields} WHERE visibility = %d ORDER BY category, weight', PROFILE_PUBLIC_LISTINGS); while ($record = db_fetch_object($result)) { $fields[] = $record; } |