diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-02 00:23:42 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-02 00:23:42 +0000 |
commit | ff6f545b8fdb8c1fb01e2d8c2dbbd80f6c3f1d16 (patch) | |
tree | 2ddc2254593f523d49dbdf9c1d670cab8539cfb8 /modules/profile | |
parent | a8bfe4c9ec2a2d8eb14cbe4af0afaaaced0a4481 (diff) | |
download | brdo-ff6f545b8fdb8c1fb01e2d8c2dbbd80f6c3f1d16.tar.gz brdo-ff6f545b8fdb8c1fb01e2d8c2dbbd80f6c3f1d16.tar.bz2 |
#478642 by daniel.bosen: Fix typo preventing profile fields from appearing on registration.
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 6bdf7caf7..44a93a635 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -618,7 +618,7 @@ function _profile_get_fields($category, $register = FALSE) { $query->where('LOWER(category) = LOWER(:category)', array(':category' => $category)); } if (!user_access('administer users')) { - $query->condition('visibility', PROFILE_HIDDEN); + $query->condition('visibility', PROFILE_HIDDEN, '<>'); } return $query ->fields('profile_field') |