Skip to content

Commit

Permalink
Merge branch 'MDL-69110-39' of git://github.com/junpataleta/moodle in…
Browse files Browse the repository at this point in the history
…to MOODLE_39_STABLE
  • Loading branch information
andrewnicols committed Jul 6, 2020
2 parents 55c7fe1 + ea6621e commit 3915147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tablelib.php
Expand Up @@ -1307,7 +1307,7 @@ protected function set_sorting_preferences(): void {
if (array_key_exists($sortby, $sortdata)) {
// This key already exists somewhere. Change its sortorder and bring it to the top.
//$sortorder = $sortdata[$sortby] = $sortorder;
unset($sortdata['sortby'][$sortby]);
unset($sortdata[$sortby]);
}
$sortdata = array_merge([$sortby => $sortorder], $sortdata);
}
Expand Down

0 comments on commit 3915147

Please sign in to comment.