6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14130] monthdayyear form element not saved in DB
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__.. .._.. . |\/|[__]|\ | | | | | || || \|_|_|/\|
Comment
>> I agree, but if you are protecting against an "empty" value, you >> should explicitly check for this using empty(). This makes the code's >> intent much cleaner. Setting the equality check as you did can hide >> other issues (such as in this case where some code is passing a value >> that is seemingly incorrect) or make them harder to track down. > > True. > An additional check for is_string() would probably be overkill. >
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