fix(aff): licence number parsing
This commit is contained in:
parent
f5dbe0b6af
commit
7d35472ea5
@ -125,14 +125,14 @@ public class AffiliationRequestForm {
|
||||
model.setM2_lname(this.getM2_lname());
|
||||
model.setM2_fname(this.getM2_fname());
|
||||
model.setM2_email(this.getM2_email());
|
||||
model.setM2_lincence((this.getM1_lincence() == null || this.getM1_lincence().isBlank())
|
||||
model.setM2_lincence((this.getM2_lincence() == null || this.getM2_lincence().isBlank())
|
||||
? -1 : Integer.parseInt(this.getM2_lincence()));
|
||||
model.setM2_role(this.getM2_role());
|
||||
|
||||
model.setM3_lname(this.getM3_lname());
|
||||
model.setM3_fname(this.getM3_fname());
|
||||
model.setM3_email(this.getM3_email());
|
||||
model.setM3_lincence((this.getM1_lincence() == null || this.getM1_lincence().isBlank())
|
||||
model.setM3_lincence((this.getM3_lincence() == null || this.getM3_lincence().isBlank())
|
||||
? -1 : Integer.parseInt(this.getM3_lincence()));
|
||||
model.setM3_role(this.getM3_role());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user