summaryrefslogtreecommitdiff
path: root/modules/profile/profile.pages.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-02 16:11:31 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-02 16:11:31 +0000
commitad41b6dd93814fa29e8cef00061093e3a235c4ae (patch)
treef22b094c5916d8209c69a4a2f4a75a5659cdea81 /modules/profile/profile.pages.inc
parentb65907b89cee44f311a038b391384286772ac74d (diff)
downloadbrdo-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.inc2
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;
}