[cvs] commit: horde/lib Form.php

Marko Djukic tech at oblo.com
Sun Feb 9 22:03:36 PST 2003


mdjukic     2003/02/09 22:03:36 PST

  Modified files:
    lib                  Form.php 
  Log:
  Does this simplify things a bit? Assuming that the ((string)(int)$value !== $value) was testing for a value being passed such as '0', which would have evaluated to true with a empty() test, right?
  Plus this way enum var fields can be set up with an element such as '' => '-- select from below --' which would now evaluate correctly to error if required and nothing selected from below.
  
  Revision  Changes    Path
  1.74      +2 -2      horde/lib/Form.php

  Chora Links:
  http://cvs.horde.org/diff.php/horde/lib/Form.php?r1=1.73&r2=1.74&ty=u


More information about the cvs mailing list