From ad41b6dd93814fa29e8cef00061093e3a235c4ae Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 2 Nov 2008 16:11:31 +0000 Subject: - Patch #326607 by Ozeuss: fixed undefined property. --- modules/profile/profile.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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; } -- cgit v1.2.3