Commit 80b6f3b0 authored by Damyon Wiese's avatar Damyon Wiese

Merge branch 'MDL-60945' of https://github.com/NeillM/moodle

parents 9244faa3 3acb2948
......@@ -249,7 +249,7 @@ class core_completion_external extends external_api {
$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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment