Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-2640

Forumng get_modinfo_special correction for shared activities processing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 1.9.10
    • None
    • Easy
    • MOODLE_19_STABLE

      The forum function get_modinfo_special has some special processing that is only meant for the OU shared activities course.

      If a course has no course modules for some reason, then the current check is insufficient to distinguish between this type of course and a shared activities course.

      A simple change in the code will solve this:

      if (class_exists('ouflags') && !count($modinfo->cms)) {

      change to

      if (class_exists('ouflags') && $course->idnumber==='!sharedactivities') {

            quen Sam Marshall
            jb23347 John Beedell (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.