#478642 by daniel.bosen: Fix typo preventing profile fields from appearing on registration.
parent
a8bfe4c9ec
commit
ff6f545b8f
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue