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

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

    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...

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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