summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/poll.module4
-rw-r--r--modules/poll/poll.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/poll.module b/modules/poll.module
index 24819de44..6e8d16501 100644
--- a/modules/poll.module
+++ b/modules/poll.module
@@ -54,7 +54,7 @@ function poll_block($op = "list", $delta = 0) {
$poll = node_load(array("type" => "poll", "created" => $timestamp, "moderate" => "0", "status" => "1"));
if ($poll->nid) {
// Poll_view dumps the output into $poll->body
- poll_view($poll, 1, 1);
+ poll_view($poll, 1, 0, 1);
}
}
$block["subject"] = t("Poll");
@@ -347,7 +347,7 @@ function poll_view_processvote(&$node) {
}
}
-function poll_view(&$node, $main = 0, $block = 0) {
+function poll_view(&$node, $main = 0, $page = 0, $block = 0) {
global $user;
/*
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 24819de44..6e8d16501 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -54,7 +54,7 @@ function poll_block($op = "list", $delta = 0) {
$poll = node_load(array("type" => "poll", "created" => $timestamp, "moderate" => "0", "status" => "1"));
if ($poll->nid) {
// Poll_view dumps the output into $poll->body
- poll_view($poll, 1, 1);
+ poll_view($poll, 1, 0, 1);
}
}
$block["subject"] = t("Poll");
@@ -347,7 +347,7 @@ function poll_view_processvote(&$node) {
}
}
-function poll_view(&$node, $main = 0, $block = 0) {
+function poll_view(&$node, $main = 0, $page = 0, $block = 0) {
global $user;
/*