Commit 878e1ed0 authored by jcnventura's avatar jcnventura

Use Pass Through in D7's drupal_set_title

parent 571e2ce9
......@@ -506,7 +506,7 @@ function _print_generate_node($nid, $cid = NULL, $teaser = FALSE, $message = NUL
return FALSE;
drupal_set_title($node->title, PASS_THROUGH);
//alert other modules that we are generating a printer-friendly page, so they can choose to show/hide info
$node->printing = TRUE;
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