Commit 84268b3a authored by Dries's avatar Dries
Browse files

- Patch #17770 by chx: added missing NULL-arguments to _user() hook.

parent 2ba1d5bb
......@@ -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);
}
}
......
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment