mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
Merge branch 'MDL-69110-39' of git://github.com/junpataleta/moodle into MOODLE_39_STABLE
This commit is contained in:
commit
3915147b9b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue