Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27148

do not use $string++ in get_in_or_equal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.3
    • 2.0.2
    • Database SQL/XMLDB
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      The problem is that 'a_9'++ overflows and returns 'a_0', please note it works fine in case of 'a9' because it returns 'b0'.

      Solution is to use just parameter name prefix and append a static counter value.

            skodak Petr Skoda
            skodak Petr Skoda
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.