mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-59106_master-fix' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
cb9a803d80
@ -109,7 +109,7 @@ class insights_list implements \renderable, \templatable {
|
||||
$preddata = array();
|
||||
$preddata['predictiondisplayvalue'] = $this->model->get_target()->get_display_value($predictedvalue);
|
||||
list($preddata['style'], $preddata['outcomeicon']) =
|
||||
insight::get_calculation_display($this->model->get_target(), $predictedvalue, $output);
|
||||
insight::get_calculation_display($this->model->get_target(), floatval($predictedvalue), $output);
|
||||
$predictionvalues[$predictedvalue] = $preddata;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user