[dev] problem in hourMinuteSecond field type
Duck
duck at obala.net
Tue Mar 16 15:51:25 PST 2004
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";
}
to make the time format full.
And now seems to work.
jaka
More information about the dev
mailing list