From ff6f545b8fdb8c1fb01e2d8c2dbbd80f6c3f1d16 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 2 Jun 2009 00:23:42 +0000 Subject: #478642 by daniel.bosen: Fix typo preventing profile fields from appearing on registration. --- modules/profile/profile.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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') -- cgit v1.2.3