From e57faf219274c3802fef3831be18f15961035b05 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 20 Jun 2003 17:43:03 +0000 Subject: - Bugfix: fixed problem with changing themes. Didn't apply Al's patch as the fix was somewhat simpler. Fixes bug #2003. - Bugfix: fixed problem with voting on certain poll pages. Patch #37 by Al. - Improvement: removed stupid descriptions from profile module. --- modules/poll.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/poll.module') diff --git a/modules/poll.module b/modules/poll.module index 8ec52a5e2..0313b62c8 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -220,7 +220,6 @@ function poll_node($field) { function poll_page() { - theme("header"); $result = db_query("SELECT n.nid, n.title, p.active, SUM(c.chvotes) AS votes FROM node n LEFT JOIN poll p ON n.nid=p.nid LEFT JOIN poll_choices c ON n.nid=c.nid WHERE type = 'poll' AND status = '1' AND moderate = '0' GROUP BY n.nid, n.title, p.active, n.created ORDER BY n.created DESC"); $output = "