diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 06:27:06 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-12 06:27:06 +0000 |
commit | a3a420c3e6f3805a91448c877a8a423f7232198c (patch) | |
tree | 355650769d2e533c6dc6c6d38ad057cca622b727 /modules/node/node.module | |
parent | f76acb2d9d421ff705be6fd2713b8cc2c007e1df (diff) | |
download | brdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.gz brdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.bz2 |
Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 3c9143335..eeab96c83 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1142,7 +1142,7 @@ function node_build_content($node, $teaser = FALSE, $page = FALSE) { */ function node_show($node, $cid, $message = FALSE) { if ($message) { - drupal_set_title(t('Revision of %title from %date', array('%title' => $node->title, '%date' => format_date($node->revision_timestamp))), PASS_THROUGH); + drupal_set_title(t('Revision of %title from %date', array('%title' => $node->title, '%date' => format_date($node->revision_timestamp)))); } $output = node_view($node, FALSE, TRUE); @@ -1857,7 +1857,7 @@ function node_page_default() { * Menu callback; view a single node. */ function node_page_view($node, $cid = NULL) { - drupal_set_title($node->title); + drupal_set_title(check_plain($node->title)); return node_show($node, $cid); } |