[dev] problem in hourMinuteSecond field type

Chuck Hagenbuch chuck at horde.org
Tue Mar 16 19:44:04 PST 2004


Quoting Duck <duck at obala.net>:

> I had prolmes with hourMinuteSecond field when not using the "seconds" part.
> The checking always dies as the seconds are not supplied.
>
> I checked the framework (cvs of yesteday 16.3.2004) and in
> "Horde_Form_Type_hourMinuteSecond->isValid" method  (Horde/Form.php:2150)
> diretly after getting "time" I added
>
>         if ( $this->_show_seconds === FALSE && !isset($time['second']) ) {
>                 $time['second'] = "00";
> 	}

Committed, thanks!

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list