Commit af90f9df authored by mikeytown2's avatar mikeytown2

#946818: fix unassigned variable bug

parent 2edfbd61
......@@ -4718,10 +4718,10 @@ function boost_boost_menu_router($router_item) {
// Try populating with the query string
if (empty($router_item['page_type'])) {
$router_item['page_type'] = $query;
$router_item['page_type'] = $router_item['query'];
}
elseif (empty($router_item['page_id'])) {
$router_item['page_id'] = $query;
$router_item['page_id'] = $router_item['query'];
}
return $router_item;
......
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