#478642 by daniel.bosen: Fix typo preventing profile fields from appearing on registration.

merge-requests/26/head
Angie Byron 2009-06-02 00:23:42 +00:00
parent a8bfe4c9ec
commit ff6f545b8f
1 changed files with 1 additions and 1 deletions

View File

@ -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')