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

print_recent_activity() assums activity

XMLWordPrintable

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

      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.

            mchurch Mike Churchward
            trick Alan Trick
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.