Skip to content

Commit

Permalink
MDL-51040 cbe: Fix invalid structure returned from webservice
Browse files Browse the repository at this point in the history
This exporter was exporting a user_competency_plan in a user_competency
structure which is invalid because status is missing.
  • Loading branch information
Damyon Wiese authored and Frederic Massart committed Apr 18, 2016
1 parent e1964c9 commit 949cda2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -110,7 +110,7 @@ protected function get_other_values(renderer_base $output) {
}
if ($this->related['usercompetencyplan']) {
$exporter = new user_competency_plan_exporter($this->related['usercompetencyplan'], $related);
$result->usercompetency = $exporter->export($output);
$result->usercompetencyplan = $exporter->export($output);
}

$allevidence = array();
Expand Down

0 comments on commit 949cda2

Please sign in to comment.