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

Notice undefined variable when disabling all repositories

    XMLWordPrintable

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-42234-master
    • Sprint:
      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

            Assignee:
            abgreeve Adrian Greeve
            Reporter:
            abgreeve Adrian Greeve
            Peer reviewer:
            Rajesh Taneja
            Integrator:
            Marina Glancy
            Tester:
            Andrew Nicols
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Nov/13