Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ff6f545b
Commit
ff6f545b
authored
Jun 02, 2009
by
webchick
Browse files
#478642
by daniel.bosen: Fix typo preventing profile fields from appearing on registration.
parent
a8bfe4c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/profile/profile.module
View file @
ff6f545b
...
...
@@ -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'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment