6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#787] UI VarRenderer Logic Bug
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..___.\ /. ..__. _/ | >< |__|| | ./__. | / \| ||__\
Comment
> I came across a problem where using the 'prompt' => true option for > 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers