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

lib/accesslib.php need to use $wereorsortparams

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4.5, 2.5.1
    • 2.4.4, 2.5, 2.6
    • Libraries
    • None

      lib/accesslib.php, in line 3913, the check is made for additional where clause parameters in the query, however the query is apppened with the wrong variable name.
      Should read:
      if ($whereorsortparams)

      { $params = array_merge($params, $whereorsortparams); }

            skodak Petr Skoda
            johanr Johan Reinalda (Inactive)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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