Commit 2a46e42c authored by jcnventura's avatar jcnventura

#1184696: fix system pages that displayed only 'Array'.

parent 07c7fcb4
......@@ -596,6 +596,9 @@ function _print_generate_path($path, $format = PRINT_HTML_FORMAT, $teaser = FALS
// Adapted from index.php.
$node = new stdClass();
$node->body = menu_execute_active_handler($path, FALSE);
if (is_array($node->body)) {
$node->body = drupal_render($node->body);
}
if (is_int($node->body)) {
switch ($node->body) {
......
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