Fixing 1322 Wrong firsname , lastname in gradebook list

skala
Julio Montoya 15 years ago
parent 5da9525f47
commit 360aaedb28
  1. 6
      main/gradebook/lib/flatview_data_generator.class.php

@ -140,12 +140,12 @@ class FlatViewDataGenerator
if ($ignore_score_color) { if ($ignore_score_color) {
$displaytype |= SCORE_IGNORE_SPLIT; $displaytype |= SCORE_IGNORE_SPLIT;
} }
foreach ($selected_users as $user) { foreach ($selected_users as $user) {
$row = array (); $row = array ();
$row[] = $user[0]; // user id $row[] = $user[0]; // user id
$row[] = $user[1]; // last name $row[] = $user[2]; // last name
$row[] = $user[2]; // first name $row[] = $user[3]; // first name
$item_value=0; $item_value=0;
$item_total=0; $item_total=0;

Loading…
Cancel
Save