Commit d5936ac2 authored by merlinofchaos's avatar merlinofchaos Committed by neclimdul

Issue #1369852: node_view task needs to do a drupal_set_title or the node title will get lost.

parent dd14aa97
......@@ -83,6 +83,9 @@ function page_manager_node_view($node) {
// Load the node into a context.
ctools_include('context');
ctools_include('context-task-handler');
// We need to mimic Drupal's behavior of setting the node title here.
drupal_set_title($node->title);
$contexts = ctools_context_handler_get_task_contexts($task, '', array($node));
$output = ctools_context_handler_render($task, '', $contexts, array($node->nid));
......
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