Closed (won't fix)
Project:
Pollfield
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2008 at 16:30 UTC
Updated:
23 May 2011 at 20:00 UTC
Polls were being displayed even when the poll question was blank.
Simple fix (sorry I don't know how to make a patch)
line 121:
replaced:
return theme('field', $node, $field, $items, $teaser, $page);
with
if ($items[0]['question'] == '') {
return '';
} else {
return theme('field', $node, $field, $items, $teaser, $page);
}
Comments
Comment #1
bryan kennedy commentedYou can check out the instructions here to make a patch - http://drupal.org/patch/apply
Comment #2
bryan kennedy commentedWe are no longer supporting the Drupal 5 version of this module and there hasn't been any activity on this issue for several years, so I am closing as won't fix.
Comment #3
bryan kennedy commentedWoops, forgot to change status.