Commit 6d456487 authored by mikeytown2's avatar mikeytown2

#917908 by Nax, mikeytown2: page_arguments should always be an array.

parent 8f09faf1
......@@ -4604,7 +4604,7 @@ function _boost_get_menu_router($path = NULL, $get_array = NULL, $reset = FALSE)
$router_item['page_number'] = $page;
// Make sure page arguments is set and is an array
// Needed if views handles 404s
// Needed if view throws a 403
if (!is_array($router_item['page_arguments'])) {
$router_item['page_arguments'] = array($router_item['page_arguments']);
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