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

Course requests buttons don't appear for anything other than category with ID=1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Course, Navigation
    • Labels:
      None
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Conditional check for whether to show course request / approval buttons checks the wrong permissions.

      To reproduce:

      1. turn on course requests for a category with any ID other than 1
      2. go to the category page (e.g. /course/category.php?id=2)
      3. buttons aren't there

      Will attach a patch in a second...

        Attachments

          Activity

            People

            Assignee:
            poltawski Dan Poltawski
            Reporter:
            mylescarrick Myles Carrick
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Feb/11