Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Fix Version/s: None
-
Component/s: Patch: Gradebook Plus
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
Description
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) {
Wen - I've commented out the extra call to the get current group function but would appreciate a quick test to make sure that it functions properly. In theory it should be fine but I like to always verify with a little QA. I'm going to resolve this; however, if there is a problem please re-open it. Thanks - Anthony