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

Quickmail uses course context, not block context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.9
    • Block: Quickmail
    • None
    • MOODLE_19_STABLE

      Quickmail uses the course context, not the block context, to generate its user list. Because of this, overrides set at the block level do not apply.

      The fix for this is very easy; in blocks/quickmail/email.php change line 25 from:

      $context = get_context_instance(CONTEXT_COURSE, $course->id);

      to:

      $context = get_context_instance(CONTEXT_BLOCK, $instanceid);

            bushido Mark Nielsen (Inactive)
            carolinemoore Caroline Moore (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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