6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/3/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5228] Fix for Recurrence::hasRecurType
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___.__. __ .__. | |[__ | |/ `| | |__|| |__\\__.|__\
Comment
> Hello Jan, > > > >> This doesn't make sense to me. We use constants for the recur type, > >> so a strict comparison works fine here. > > > > I think the problem is related to the UI. If you change a recurrence, > the internal PHP type for the form input is "string". Please consider > this short code example: > > > > <?php > > > > define('HORDE_DATE_RECUR_NONE', 0); > > $var = "0"; > > > > echo "hasRecurTypeOld: ".($var === HORDE_DATE_RECUR_NONE)."\n"; > > echo "hasRecurTypeNew: ".($var == HORDE_DATE_RECUR_NONE)."\n"; > >
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