Browse Source

Fix import column matching.

MOODLE_33_STABLE
Dan Marsden 7 years ago
parent
commit
3b275d0d0a
  1. 34
      classes/import/sessions.php

34
classes/import/sessions.php

@ -134,13 +134,16 @@ class sessions {
'from' => $data->header3, 'from' => $data->header3,
'to' => $data->header4, 'to' => $data->header4,
'description' => $data->header5, 'description' => $data->header5,
'studentscanmark' => $data->header6, 'repeaton' => $data->header6,
'passwordgrp' => $data->header7, 'repeatevery' => $data->header7,
'randompassword' => $data->header8, 'repeatuntil' => $data->header8,
'subnet' => $data->header9, 'studentscanmark' => $data->header9,
'automark' => $data->header10, 'passwordgrp' => $data->header10,
'autoassignstatus' => $data->header11, 'randompassword' => $data->header11,
'absenteereport' => $data->header12 'subnet' => $data->header12,
'automark' => $data->header13,
'autoassignstatus' => $data->header14,
'absenteereport' => $data->header15
); );
} else { } else {
return array( return array(
@ -150,13 +153,16 @@ class sessions {
'from' => 3, 'from' => 3,
'to' => 4, 'to' => 4,
'description' => 5, 'description' => 5,
'studentscanmark' => 6, 'repeaton' => 6,
'passwordgrp' => 7, 'repeatevery' => 7,
'randompassword' => 8, 'repeatuntil' => 8,
'subnet' => 9, 'studentscanmark' => 9,
'automark' => 10, 'passwordgrp' => 10,
'autoassignstatus' => 11, 'randompassword' => 11,
'absenteereport' => 12 'subnet' => 12,
'automark' => 13,
'autoassignstatus' => 14,
'absenteereport' => 15
); );
} }
} }

Loading…
Cancel
Save