Welcome to Geeklog, Anonymous Thursday, August 18 2022 @ 04:34 pm EDT

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?
 Quote

All times are EDT. The time is now 04:34 pm.

  • 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