Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
poll.module
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
30 Dec 2007 at 23:58 UTC
Updated:
14 Jan 2008 at 12:31 UTC
Jump to comment: Most recent file
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 commentedBetter patchy. Note that I am fixing notices wherever I find them.
Comment #2
dries commentedGood catch! Committed to CVS HEAD.
Comment #3
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) commentedAutomatically closed -- issue fixed for two weeks with no activity.