|
@ -131,7 +131,7 @@ if ($mform->is_submitted()) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$optional_row = array('idnumber', 'institution', 'department'); |
|
|
$optional_row = array('idnumber', 'institution', 'department'); |
|
|
foreach ($$optional_row as $opt) { |
|
|
foreach ($optional_row as $opt) { |
|
|
if (isset($formdata->ident[$opt])) { |
|
|
if (isset($formdata->ident[$opt])) { |
|
|
$data->table[$i][] = $user->$opt; |
|
|
$data->table[$i][] = $user->$opt; |
|
|
} |
|
|
} |
|
|