Skip to content
Snippets Groups Projects
Commit ff6f545b authored by Angie Byron's avatar Angie Byron
Browse files

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

parent a8bfe4c9
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment