mirror of
https://github.com/moodle/moodle.git
synced 2025-04-07 09:23:31 +02:00
Merge branch 'MDL-69110-master' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
1ffdc39468
@ -1307,7 +1307,7 @@ class flexible_table {
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user