summaryrefslogtreecommitdiff
path: root/modules/poll
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-11 21:11:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-11 21:11:02 +0000
commitecf7ad41d0c3b8d4ea12e3883d3b5c9060eb2963 (patch)
tree264c817491a1484683e8adb2a2f47e344ef44717 /modules/poll
parent4002681267044ab1d226ffeade7b8f6fface18ae (diff)
downloadbrdo-ecf7ad41d0c3b8d4ea12e3883d3b5c9060eb2963.tar.gz
brdo-ecf7ad41d0c3b8d4ea12e3883d3b5c9060eb2963.tar.bz2
#242873 by pwolanin and bjaspan: Make drupal_set_title() do check_plain() by default.
Diffstat (limited to 'modules/poll')
-rw-r--r--modules/poll/poll.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/poll/poll.pages.inc b/modules/poll/poll.pages.inc
index 39d456398..61f3bf6c2 100644
--- a/modules/poll/poll.pages.inc
+++ b/modules/poll/poll.pages.inc
@@ -28,7 +28,7 @@ function poll_page() {
* Callback for the 'votes' tab for polls you can see other votes on
*/
function poll_votes($node) {
- drupal_set_title(check_plain($node->title));
+ drupal_set_title($node->title);
$output = t('This table lists all the recorded votes for this poll. If anonymous users are allowed to vote, they will be identified by the IP address of the computer they used when they voted.');
$header[] = array('data' => t('Visitor'), 'field' => 'u.name');
@@ -51,7 +51,7 @@ function poll_votes($node) {
* Callback for the 'results' tab for polls you can vote on
*/
function poll_results($node) {
- drupal_set_title(check_plain($node->title));
+ drupal_set_title($node->title);
$node->show_results = TRUE;
return node_show($node, 0);
}