Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE
-
MDL-66241_master -
Description
The activities_due indicator calls the calendar API passing the $sampleid, this is fine when $sampleid is a userid, but not when $sampleid is a user enrolment. To call the method with $user->id where $user = $this->retrieve('user', $sampleid); is enough to fix the problem.