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

Saner increment operator when generating user sort SQL (PHP 8.3)

XMLWordPrintable

      See explanation from original issue: MDL-80119 (I classed this one as a bug too)

      We have a similar case here: https://github.com/moodle/moodle/blob/d3ae1391abea2d7730a36904cbb9256d25d89d77/lib/datalib.php#L385-L391 in users_order_by_sql(...)

      We can simplify that code by removing the increment operator altogether, because we already have enough data to create unique parameter names in the subsequent loop

            pholden Paul Holden
            pholden Paul Holden
            Daniel Ziegenberg Daniel Ziegenberg
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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