Permalink
Browse files

Merge branch 'MDL-58656-32' of git://github.com/damyon/moodle into MO…

…ODLE_32_STABLE
  • Loading branch information...
dmonllao committed May 15, 2017
2 parents 723ed52 + 8a33f2a commit bc71da7f50b46f6cc457b28fc30ce6c35953fde8
Showing with 3 additions and 3 deletions.
  1. +3 −3 report/competency/classes/output/report.php
@@ -119,13 +119,13 @@ public function export_for_template(renderer_base $output) {
if ($scaleid === null) {
$scaleid = $framework->get_scaleid();
if (!isset($scalecache[$scaleid])) {
$scalecache[$competency->get_scaleid()] = $framework->get_scale();
$scalecache[$scaleid] = $framework->get_scale();
}
} else if (!isset($scalecache[$scaleid])) {
$scalecache[$competency->get_scaleid()] = $competency->get_scale();
$scalecache[$scaleid] = $competency->get_scale();
}
$scale = $scalecache[$competency->get_scaleid()];
$scale = $scalecache[$scaleid];
$exporter = new user_competency_course_exporter($usercompetencycourse, array('scale' => $scale));
$record = $exporter->export($output);

0 comments on commit bc71da7

Please sign in to comment.