[drupal-devel] [bug] Poll not inserting correctly, options missing on edit
13 May
2005
13 May
'05
2:36 a.m.
Issue status update for http://drupal.org/node/22715 Project: Drupal Version: 4.6.0 Component: poll.module Category: bug reports Priority: normal Assigned to: Anonymous Reported by: rbarreca Updated by: rbarreca Status: patch 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. rbarreca
7710
Age (days ago)
7710
Last active (days ago)
0 comments
1 participants
participants (1)
-
rbarreca