Closed (outdated)
Project:
Drupal core
Version:
6.16
Component:
poll.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2009 at 19:20 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Comments
Comment #1
LupusGrey commentedI've also noticed this bug.
It is because the module uses the empty() php function to determine if you've entered anything at all in the choices. However empty() also believes that '0' is nothing.
So this should be changed to something else or '0' should be an exception.