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

Erroneous query in enrol_paypal\privacy\provider::get_contexts_for_userid

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.3.8, 3.4.5, 3.5.2, 3.6
    • Fix Version/s: None
    • Component/s: Enrolments, Privacy
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      The sql query in enrol_paypal\privacy\provider::get_contexts_for_userid is not correct.

      The LEFT JOIN in the query should change to INNER JOIN and the AND in the join condition should change to OR.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rezaie9 Shamim Rezaie
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: