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

Notice undefined variable when disabling all repositories

    XMLWordPrintable

Details

    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • wip-MDL-42234-master
    • Hide
      1. Disable all of the repositories
      2. [Test] When all of the repositories have been disabled, ensure that there are no notices.
      3. Enable previously selected repositories.
      4. [Test] Make sure that you still don't see any notices.
      Show
      Disable all of the repositories [Test] When all of the repositories have been disabled, ensure that there are no notices. Enable previously selected repositories. [Test] Make sure that you still don't see any notices.
    • BACKEND Sprint 6

    Description

      When you disable all of the repositories you get the following notice:

      Notice: Undefined variable: alreadyplugins in /home/adrian/moodles/stable_master_postgres/moodle/admin/repository.php on line 401 Warning: in_array() expects parameter 2 to be array, null given in /home/adrian/moodles/stable_master_postgres/moodle/admin/repository.php on line 401 
      

      Attachments

        Activity

          People

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Rajesh Taneja Rajesh Taneja
            Marina Glancy Marina Glancy
            Andrew Lyons Andrew Lyons
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Nov/13