diff options
author | David Rothstein <drothstein@gmail.com> | 2013-12-27 15:52:38 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-12-27 15:52:38 -0500 |
commit | 70e25d73f19c85ac6ae5c916eccb21f2fd871d0d (patch) | |
tree | b550fc15011bec5218c2ce521f9a5bbf397ba376 /modules | |
parent | c0049262b33826a5144bf24f46dc53b1a6674672 (diff) | |
download | brdo-70e25d73f19c85ac6ae5c916eccb21f2fd871d0d.tar.gz brdo-70e25d73f19c85ac6ae5c916eccb21f2fd871d0d.tar.bz2 |
Issue #2090207 by helmo, davidhunter, Tor Arne Thune: Undefined property: stdClass::$visibility in profile_view_field().
Diffstat (limited to 'modules')
-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 06f963238..db65e9ac7 100644 --- a/modules/profile/profile.pages.inc +++ b/modules/profile/profile.pages.inc @@ -27,7 +27,7 @@ function profile_browse() { } // Compile a list of fields to show. - $fields = db_query('SELECT name, title, type, weight, page FROM {profile_field} WHERE fid <> :fid AND visibility = :visibility ORDER BY weight', array( + $fields = db_query('SELECT name, title, type, weight, page, visibility FROM {profile_field} WHERE fid <> :fid AND visibility = :visibility ORDER BY weight', array( ':fid' => $field->fid, ':visibility' => PROFILE_PUBLIC_LISTINGS, ))->fetchAll(); |