summaryrefslogtreecommitdiff
path: root/modules/poll/poll.tokens.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-18 07:56:20 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-18 07:56:20 +0000
commitd89865d1ef4b4f159f90e55950a7d2c691849eda (patch)
tree1334898bf7aba27ad04ce166984b163ef9fd2177 /modules/poll/poll.tokens.inc
parent513d7eb87ef04e783ee81b2fdf1307389cf8557a (diff)
downloadbrdo-d89865d1ef4b4f159f90e55950a7d2c691849eda.tar.gz
brdo-d89865d1ef4b4f159f90e55950a7d2c691849eda.tar.bz2
#602200 by stBorchert: Fixed notices in account settings.
Diffstat (limited to 'modules/poll/poll.tokens.inc')
-rw-r--r--modules/poll/poll.tokens.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/poll/poll.tokens.inc b/modules/poll/poll.tokens.inc
index 9fe6857ad..76d40825c 100644
--- a/modules/poll/poll.tokens.inc
+++ b/modules/poll/poll.tokens.inc
@@ -42,6 +42,7 @@ function poll_token_info() {
function poll_tokens($type, $tokens, array $data = array(), array $options = array()) {
$url_options = array('absolute' => TRUE);
$sanitize = !empty($options['sanitize']);
+ $replacements = array();
if ($type == 'node' && !empty($data['node']) && $data['node']->type == 'poll') {
$node = $data['node'];