- $login = $data[$logcol];
- $matri = preg_replace('/1(\d{2})(\d{3})/', '20${1}0\2', $data[$matcol]);
- if (!is_numeric($matri)) {
- echo "ERROR The matricule ($matri) is not a numerical value\n";
+ $login = $data[$logcol];
+ $xorgid = preg_replace('/1(\d{2})(\d{3})/', '20${1}0\2', $data[$matcol]);
+ if (!is_numeric($xorgid)) {
+ echo "ERROR The matricule ($xorgid) is not a numerical value.\n";