Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
comparing a uid to nid is fun but won't lead to anything good, i guess.
Edit: I am writing a simpletest. Again and again and again, write those and you will rewarded richly with bugs.
Comment | File | Size | Author |
---|---|---|---|
#3 | poll_notice_followup.patch | 614 bytes | chx |
#1 | poll_opsie.patch | 1.5 KB | chx |
poll_opsie.patch | 1.33 KB | chx | |
Comments
Comment #1
chx CreditAttribution: chx commentedBetter patchy. Note that I am fixing notices wherever I find them.
Comment #2
Dries CreditAttribution: Dries commentedGood catch! Committed to CVS HEAD.
Comment #3
chx CreditAttribution: chx commentedI am so sorry. An unset array index is NULL not 0. And though 0 is more adequate here but that's not what the original code did and past RC it's not nice to change behaviour. But now the simpletest is working so I do not expect further trouble.
Comment #4
Gábor HojtsyChecked the poll bar default value, and it should indeed be NULL here. Thanks, committed.
Comment #5
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.