Welcome to Geeklog, Anonymous Wednesday, January 08 2025 @ 03:26 am EST
Geeklog Forums
COM_getMinuteFormOptions()
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?
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?
10
10
Quote
All times are EST. The time is now 03:26 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content