Commit e3743c85 authored by mikeytown2's avatar mikeytown2

#928200 fix call to undefined function if using ctools.

parent a0ac800e
......@@ -578,6 +578,12 @@ function _boost_get_menu_router($parts) {
$router_item['extra_arguments'] = '';
}
// Make sure function for menu callback is loaded.
// See menu_execute_active_handler()
if ($router_item['include_file']) {
require_once DRUPAL_ROOT . '/' . $router_item['include_file'];
}
$parts['menu_item'] = $router_item;
// Invoke hook_boost_menu_router($router_item).
$modules = boost_module_implements('boost_menu_router', 'boost');
......
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