summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/poll.module1
-rw-r--r--modules/poll/poll.module1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/poll.module b/modules/poll.module
index ac8ca6d79..f90aaa3f8 100644
--- a/modules/poll.module
+++ b/modules/poll.module
@@ -292,6 +292,7 @@ function poll_perm() {
* Creates a simple teaser that lists all the choices.
*/
function poll_teaser($node) {
+ $teaser = NULL;
if (is_array($node->choice)) {
foreach ($node->choice as $k => $choice) {
$teaser .= '* '. $choice['chtext'] .'\n';
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index ac8ca6d79..f90aaa3f8 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -292,6 +292,7 @@ function poll_perm() {
* Creates a simple teaser that lists all the choices.
*/
function poll_teaser($node) {
+ $teaser = NULL;
if (is_array($node->choice)) {
foreach ($node->choice as $k => $choice) {
$teaser .= '* '. $choice['chtext'] .'\n';