- $birthdate, $lastname, $firstname, $promo, $sex, $birthdate_ref, $eduType) = $res->fetchOneRow();
- $isX = ($eduType == 'x');
- // We need the expected promotion here. Thus we remove pending display.
- $promo = str_replace(' (en cours)', $yearpromo, $promo);
- $mail_domain = User::$sub_mail_domains[$eduType] . $globals->mail->domain;
+ $birthdate, $lastname, $firstname, $yearpromo, $promo, $sex, $birthdate_ref, $type, $old_account_email) = $res->fetchOneRow();
+ $isX = ($type == 'x');
+ $mail_domain = User::$sub_mail_domains[$type] . $globals->mail->domain;