| Summary | UI VarRenderer Logic Bug |
| Queue | Horde Framework Packages |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | mbydalek (at) mobilemini (dot) com |
| Created | 11/08/2004 (7730 days ago) |
| Due | |
| Updated | 11/09/2004 (7729 days ago) |
| Assigned | |
| Resolved | 11/09/2004 (7729 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
New Attachment: html.php.patch
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ UI VarRenderer Logic Bug
Queue ⇒ Horde Framework Packages
enum Form types where if you submitted a form, and "-- select --" was
highlighted, when the form came back, the first viable option was
selected, rather than still being "-- select --"
The hard part was that it sometimes worked, and othertimes didn't, but
it came down to a logic error. Basically if the $values array
contained a "0", it thought that the var was selected because in php
'false' == 0, so I had to do a === to get it to work right.
It'll make more sense once you see the patch.
Thanks.