summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-12 06:27:06 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-12 06:27:06 +0000
commita3a420c3e6f3805a91448c877a8a423f7232198c (patch)
tree355650769d2e533c6dc6c6d38ad057cca622b727 /modules/forum/forum.module
parentf76acb2d9d421ff705be6fd2713b8cc2c007e1df (diff)
downloadbrdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.gz
brdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.bz2
Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r--modules/forum/forum.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index 99083e895..1ad242382 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -723,7 +723,7 @@ function template_preprocess_forums(&$variables) {
}
}
drupal_set_breadcrumb($breadcrumb);
- drupal_set_title($title);
+ drupal_set_title(check_plain($title));
if ($variables['forums_defined'] = count($variables['forums']) || count($variables['parents'])) {
// Format the "post new content" links listing.
@@ -784,7 +784,7 @@ function template_preprocess_forums(&$variables) {
}
else {
- drupal_set_title(t('No forums defined'), PASS_THROUGH);
+ drupal_set_title(t('No forums defined'));
$variables['links'] = array();
$variables['forums'] = '';
$variables['topics'] = '';