When I would enter a poll into the submission queue it worked fine, but then when I went back to edit it, the choice labels were not displaying. I noticed that the chorder on the poll_insert() function was not working as it should. This fix should do it:

Change on line 177 or so:

foreach ($node->choice as $choice) {

to

  $i = 0;
  foreach ($node->choice as $choice) {

since $i is used above that and not reset.

Comments

Dries’s picture

IIRC this has been fixed in the DRUPAL-4-6 branch. Re-open if not.

Anonymous’s picture

mr700’s picture

Version: » 4.6.0
Status: Closed (fixed) » Active

With 2.6.3 this is not fixed.

mr700’s picture

drupal-4.6.3.tar.gz wanted to say :)

robertgarrigos’s picture

I have been 'playing' with my polls on a 4.6.3 and cannot reproduce your problem. Can you explain what exactly you do to have this problem?

killes@www.drop.org’s picture

Status: Active » Fixed

No feedback, apparently not an issue, maybe theme specific.

Anonymous’s picture

Status: Fixed » Closed (fixed)