[Tickets #4105] [patch] Add check on listEvents API method for empty date constraints

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Jul 2 21:12:01 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=4105
-----------------------------------------------------------------------
 Ticket             | 4105
 Updated By         | Chuck Hagenbuch <chuck at horde.org>
 Summary            | [patch] Add check on listEvents API method for empty date constraints
 Queue              | Kronolith
 Version            | HEAD
-State              | New
+State              | Feedback
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2006-07-02 21:12) wrote:

empty(0) returns true as well. So if you want to preserve the meaning of 0
as a date, we should change listEvents to default to false, false instead
of null, null, and then check for $startstamp === false (note the three =,
means comparison without any type casts).




More information about the bugs mailing list