Commit efe2e462 authored by Dries's avatar Dries
Browse files

Issue #1864188 by johnshortess | hefox: Fixed user_filters() invokes...

Issue #1864188 by johnshortess | hefox: Fixed user_filters() invokes hook_permission() with argument 'permission' (('permission')).
parent 6d29b0ee
......@@ -2461,7 +2461,7 @@ function user_filters() {
$options = array();
foreach (module_implements('permission') as $module) {
$function = $module . '_permission';
if ($permissions = $function('permission')) {
if ($permissions = $function()) {
asort($permissions);
foreach ($permissions as $permission => $description) {
$options[t('@module module', array('@module' => $module))][$permission] = t($permission);
......
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