Merge branch 'MDL-69110-master' of git://github.com/junpataleta/moodle
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user