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

"Enrol me in this course" link should be hidden for non-enrolable courses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Enrolments
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      If a course is set to not allow self enrollments, but allow guest access, a guest user still sees the "Enrol me in this course" link in the Setting block, under Course Administration. If they click the link, they are greeted with a very disappointing "This course is not enrollable at this time" message. Instead that useless link should not show up. Screenshots are attached.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              jk3us Jay Knight
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10