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

Duplicate get_current_group($course->id); on line 1396 of lib.php

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 1.8.2
    • Patch: Gradebook Plus
    • None
    • MOODLE_18_STABLE

      On line 1396 and 1398 same action get_current_group($course->id) is run.

      1395 /// Check to see if groups are being used in this course
      1396 $currentgroup = get_current_group($course->id);
      1397
      1398 if ($currentgroup = get_current_group($course->id) && groupmode($course) != 0) {

      Possibly replace 1398 with
      if ($currentgroup && groupmode($course) != 0) {

            aborrow Anthony Borrow
            rudd_j James Rudd (Inactive)
            Wen Hao Chuang Wen Hao Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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