Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2008 at 13:29 UTC
Updated:
1 Oct 2008 at 16:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
Micha1111 commentedNo solution ?
Comment #2
asimmonds commentedTaking the example allowed values list above, produces a $options array of:
notice that for the first pair, the key is used for the label instead of the requested "0", it should be:
When the allowed values list is parsed, the "0" value is being ignored because a (bool) test of "0" is false
The attached patch adds a isset() and a test for a empty string (in-case a allowed values line reads something like "2|" instead of "2|1")
Comment #3
yched commentedCommitted to D5 and D6 branches. Thanks !
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.