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

lib/accesslib.php need to use $wereorsortparams

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.4, 2.5, 2.6
    • Fix Version/s: 2.4.5, 2.5.1
    • Component/s: Libraries
    • Labels:
      None

      Description

      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); }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              johanr Johan Reinalda
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/13