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/statistics/statistics.pages.inc | |
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/statistics/statistics.pages.inc')
-rw-r--r-- | modules/statistics/statistics.pages.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics/statistics.pages.inc b/modules/statistics/statistics.pages.inc index 612a03f34..69286b515 100644 --- a/modules/statistics/statistics.pages.inc +++ b/modules/statistics/statistics.pages.inc @@ -29,7 +29,7 @@ function statistics_node_tracker() { $rows[] = array(array('data' => t('No statistics available.'), 'colspan' => 4)); } - drupal_set_title($node->title); + drupal_set_title(check_plain($node->title)); $output = theme('table', $header, $rows); $output .= theme('pager', NULL, 30, 0); return $output; @@ -60,7 +60,7 @@ function statistics_user_tracker() { $rows[] = array(array('data' => t('No statistics available.'), 'colspan' => 3)); } - drupal_set_title($account->name); + drupal_set_title(check_plain($account->name)); $output = theme('table', $header, $rows); $output .= theme('pager', NULL, 30, 0); return $output; |