Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
re COM_getMinuteFormOptions() and COM_getHourFormOptions().

The selected option neglects leading zero's and so doesn't always return the expected option as selected.

I suggest changing "if( $selected == $i )" to "if( $selected == $mval)" in COM_getMinuteFormOptions()
and "if( $selected == $i )" to "if( $selected == $hval )" in COM_getHourFormOptions().

Is that just me or is this a bug?