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

Incorrect local variable instead of class variable assignment in user/selector/lib.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.8, 2.2.5, 2.3.2, 2.4
    • Fix Version/s: 2.2.7, 2.3.4
    • Component/s: General
    • Labels:

      Description

      In the method clear_exclusions() of the abstract class user_selector_base, the variable $exclude is set to array(). It should be $this->exclude = array().

        Attachments

          Activity

            People

            Assignee:
            nicolasconnault Nicolas Connault
            Reporter:
            nicolasconnault Nicolas Connault
            Peer reviewer:
            Petr Skoda
            Integrator:
            Dan Poltawski
            Tester:
            Dan Poltawski
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Jan/13