summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-13 00:33:05 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-13 00:33:05 +0000
commit8292bdd40ab3a9e70d44dad0e681d0222c1556cb (patch)
tree7e66d08bef9b38acd705e9e918129083435af3b8 /modules/comment/comment.module
parent448640f1380c39ec3be39791d7efb449f150e1ed (diff)
downloadbrdo-8292bdd40ab3a9e70d44dad0e681d0222c1556cb.tar.gz
brdo-8292bdd40ab3a9e70d44dad0e681d0222c1556cb.tar.bz2
Re-commit of #242873 by pwolanin and bjaspan: Make drupal_set_title() check_plain() by default.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index cde48a989..db663aa87 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1442,7 +1442,7 @@ function comment_form_box($edit, $title = NULL) {
function comment_form_add_preview($form, &$form_state) {
global $user;
$edit = $form_state['values'];
- drupal_set_title(t('Preview comment'));
+ drupal_set_title(t('Preview comment'), PASS_THROUGH);
$output = '';
$node = node_load($edit['nid']);