[dev] Form.php patch
Chuck Hagenbuch
chuck at horde.org
Mon Mar 3 15:53:14 PST 2003
Quoting Marko Djukic <marko at oblo.com>:
> does this make more sense?
>
> the preg test was returning "-1" as not being an integer. or should we
> somehow distinguish between a horde_form field which is only positive
> integer, and any integer?
The problem is that form data are all strings - test this.
It'd be better to just allow a '-' at the beginning of the value.
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
I know there's fish out there, but where g-d only knows.
More information about the dev
mailing list