diff --git a/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ConfirmPublishAssessmentListener.java b/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ConfirmPublishAssessmentListener.java index 042cc3e75d8b..a561ae2fcffc 100644 --- a/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ConfirmPublishAssessmentListener.java +++ b/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ConfirmPublishAssessmentListener.java @@ -338,7 +338,7 @@ else if (time instanceof java.lang.Boolean) { error=true; } boolean ipErr=false; - String ipString = StringUtils.deleteWhitespace(assessmentSettings.getIpAddresses()); + String ipString = StringUtils.strip(assessmentSettings.getIpAddresses()," "); String[]arraysIp=(ipString.split("\n")); for(int a=0;a