Merge branch 'MDL-28282-master' of git://github.com/ankitagarwal/moodle
[moodle.git] / mod / scorm / report / basic / report.php
index 99c8aab..30fcc78 100644 (file)
@@ -43,6 +43,8 @@ class scorm_basic_report extends scorm_default_report {
                 echo $OUTPUT->notification(get_string('scormresponsedeleted', 'scorm'), 'notifysuccess');
             }
         }
+        // find out current groups mode
+        $currentgroup = groups_get_activity_group($cm, true);
 
         // detailed report
         $mform = new mod_scorm_report_settings($PAGE->url, compact('currentgroup'));