Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
84268b3a
Commit
84268b3a
authored
Mar 01, 2005
by
Dries Buytaert
Browse files
- Patch
#17770
by chx: added missing NULL-arguments to _user() hook.
parent
2ba1d5bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
84268b3a
...
...
@@ -1752,7 +1752,7 @@ function _user_categories() {
$categories
=
array
();
foreach
(
module_list
()
as
$module
)
{
if
(
$data
=
module_invoke
(
$module
,
'user'
,
'categories'
))
{
if
(
$data
=
module_invoke
(
$module
,
'user'
,
'categories'
,
NULL
,
NULL
))
{
$categories
=
array_merge
(
$data
,
$categories
);
}
}
...
...
modules/user/user.module
View file @
84268b3a
...
...
@@ -1752,7 +1752,7 @@ function _user_categories() {
$categories
=
array
();
foreach
(
module_list
()
as
$module
)
{
if
(
$data
=
module_invoke
(
$module
,
'user'
,
'categories'
))
{
if
(
$data
=
module_invoke
(
$module
,
'user'
,
'categories'
,
NULL
,
NULL
))
{
$categories
=
array_merge
(
$data
,
$categories
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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