From bb3803b63ee1f6083a2ef0c981b2031ebebe5999 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 21 May 2002 23:46:07 +0000 Subject: [PATCH] Poll.module: Node links didn't always show up in the poll side-block, only when having voted. Fixed. --- modules/poll.module | 1 + modules/poll/poll.module | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/poll.module b/modules/poll.module index 687265a6cf8..68b54eb586c 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -233,6 +233,7 @@ function poll_view(&$node, $main = 0, $block = 0) { else { $output .= "
   ". form_submit(t("Vote")) ."
"; } + $output .= $block ? "
". $theme->links(link_node($node, $main)) ."
" : ""; $output .= ""; } else { diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 687265a6cf8..68b54eb586c 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -233,6 +233,7 @@ function poll_view(&$node, $main = 0, $block = 0) { else { $output .= "
   ". form_submit(t("Vote")) ."
"; } + $output .= $block ? "
". $theme->links(link_node($node, $main)) ."
" : ""; $output .= ""; } else {