Skip to content

Commit

Permalink
Merge branch 'MDL-59116_master-fix2' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Aug 8, 2017
2 parents 455974b + e4584b8 commit 2defbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analytics/classes/local/analyser/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ protected function get_most_recent_prediction_range($timesplitting) {
$ranges = $timesplitting->get_all_ranges();

// Opposite order as we are interested in the last range that can be used for prediction.
arsort($ranges);
krsort($ranges);

// We already provided the analysable to the time splitting method, there is no need to feed it back.
foreach ($ranges as $rangeindex => $range) {
Expand Down

0 comments on commit 2defbef

Please sign in to comment.