diff --git a/workbench_moderation.node.inc b/workbench_moderation.node.inc index efe9c4a..987734e 100644 --- a/workbench_moderation.node.inc +++ b/workbench_moderation.node.inc @@ -37,7 +37,7 @@ function workbench_moderation_router_item_page_callback($node) { // Call whatever function is assigned to the main node path but pass the // current node as an argument. This approach allows for the reuse of of Panel // definition acting on node/%node. - return $router_item['page_callback']($node); + return call_user_func_array($router_item['page_callback'], $router_item['page_arguments']); } /**