Skip to content

Commit

Permalink
Merge branch 'MDL-60945-m33' of https://github.com/NeillM/moodle into…
Browse files Browse the repository at this point in the history
… MOODLE_33_STABLE
  • Loading branch information
Damyon Wiese committed Dec 12, 2017
2 parents 042077d + 3cbea69 commit 9f35372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completion/classes/external.php
Expand Up @@ -169,7 +169,7 @@ public static function get_activities_completion_status($courseid, $userid) {

$completion = new completion_info($course);
$activities = $completion->get_activities();
$progresses = $completion->get_progress_all();
$progresses = $completion->get_progress_all('u.id = :uid', ['uid' => $params['userid']]);
$userprogress = $progresses[$user->id];

$results = array();
Expand Down

0 comments on commit 9f35372

Please sign in to comment.