[dev] [cvs] commit: framework/Form Form.php
Jan Schneider
jan at horde.org
Fri May 25 09:05:46 UTC 2007
Zitat von Chuck Hagenbuch <chuck at horde.org>:
> chuck 2007-05-24 23:47:56 EDT
>
> Modified files:
> Form Form.php
> Log:
> datetime fields don't validate for me without this change
>
> Revision Changes Path
> 1.405 +2 -2 framework/Form/Form.php
>
> Chora Links:
>
> http://cvs.horde.org/diff.php/framework/Form/Form.php?r1=1.404&r2=1.405&ty=u
It's exactly the opposite for me. If $date['sec'] is null, the
strlen() test is always returning true, thus the time field is never
considered empty, thus you must always provide a time even if the
field is not required.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list