From 76957a25e6eb2ce82fc3f52f6f4f97be4748f6e6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 25 May 2009 10:43:54 +0000 Subject: - Patch #470594 by Moshe: convert more pages and blocks to return arrays. --- modules/poll/poll.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/poll') diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 1c33e5ee9..b7cf2fd0d 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -161,7 +161,7 @@ function poll_block_view($delta = '') { if ($poll->nid) { $poll = poll_view($poll, TRUE, FALSE, TRUE); $block['subject'] = t('Poll'); - $block['content'] = drupal_render($poll->content); + $block['content'] = $poll->content; return $block; } } -- cgit v1.2.3