diff --git a/src/main/java/seed/com/user/mediation/WebMediationController.java b/src/main/java/seed/com/user/mediation/WebMediationController.java index 57027077..4baa9ede 100644 --- a/src/main/java/seed/com/user/mediation/WebMediationController.java +++ b/src/main/java/seed/com/user/mediation/WebMediationController.java @@ -4990,17 +4990,20 @@ public class WebMediationController { // 휴대폰 번호 분리 String tel = (String) result.get("tel"); String tellNum[] = tel.split("-"); - result.put("rcePh1", tellNum[0]); - result.put("rcePh2", tellNum[1]); - result.put("rcePh3", tellNum[2]); + if(tellNum.length != 0) { + result.put("rcePh1", tellNum[0]); + result.put("rcePh2", tellNum[1]); + result.put("rcePh3", tellNum[2]); + } // 팩스번호 분리 String fax = (String) result.get("fax"); String faxNum[] = fax.split("-"); - result.put("rceFax1", faxNum[0]); - result.put("rceFax2", faxNum[1]); - result.put("rceFax3", faxNum[2]); - + if(faxNum.length != 0) { + result.put("rceFax1", faxNum[0]); + result.put("rceFax2", faxNum[1]); + result.put("rceFax3", faxNum[2]); + } modelAndView.addObject("result", result); diff --git a/src/main/webapp/WEB-INF/jsp/_extra/web/user/mediation/mediationStep04_2.jsp b/src/main/webapp/WEB-INF/jsp/_extra/web/user/mediation/mediationStep04_2.jsp index 937a7bb2..2cae0146 100644 --- a/src/main/webapp/WEB-INF/jsp/_extra/web/user/mediation/mediationStep04_2.jsp +++ b/src/main/webapp/WEB-INF/jsp/_extra/web/user/mediation/mediationStep04_2.jsp @@ -1525,9 +1525,9 @@ FAX
- - - - - + - + - +