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

print_recent_activity() assums activity

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8
    • 1.8.3, 1.9
    • Course
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      If an activity module exists in the database, but it's files have been removed, print_recent_activity() (in course/lib.php) will try to include it anyways without checking if it exists. This produces an error message.

      The include_once statement is on line 1125 for the current 1.8 stable version (1.484.2.27). It should check if the file exists first like it does in line 975.

      Attachments

        Activity

          People

            mchurch Mike Churchward
            trick Alan Trick
            Nobody Nobody
            Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07