Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:07 am 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 05:07 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