Selaa lähdekoodia

Gradebook: fix issues shifting gradebook charts - fix #2491

Yannick Warnier 6 vuotta sitten
vanhempi
commit
46801a74b8
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      main/gradebook/lib/fe/flatviewtable.class.php

+ 2 - 0
main/gradebook/lib/fe/flatviewtable.class.php

@@ -117,6 +117,8 @@ class FlatViewTable extends SortableTable
         array_shift($headerName);
         // Removing last name
         array_shift($headerName);
+        // Removing username
+        array_shift($headerName);
 
         $pre_result = $new_result = [];
         foreach ($user_results as $result) {