Poll "Add More Choices" feature not working
javanaut - October 27, 2005 - 20:17
| Project: | Drupal |
| Version: | x.y.z |
| Component: | poll.module |
| Category: | bug report |
| Priority: | minor |
| Assigned: | javanaut |
| Status: | closed |
Jump to:
Description
It looks like $node->morechoices never gets set in poll_form(). Thus, the number of possible choices is never increased when previewed with this option. The attached patch fixes this, but I suspect there's a better way.
| Attachment | Size |
|---|---|
| poll_more_choices.patch | 452 bytes |

#1
A form API expert, please?
#2
(22:19:44) chx: so we are agreed that for poll the best is to peek at $_POST['edit']['morechoices'] for comparison purposes?
(22:20:23) Adrian: yes
(22:20:42) chx: there is a patch for that, I set that then to commit
#3
Committed to HEAD. Thanks.
#4