Improved: Remove hard-coded instances of "IN" with ModelService.IN_PARAM (OFBIZ-9434)
Thanks Devanshu and Pawan for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ public final class ScriptHelperImpl implements ScriptHelper {
|
||||
Debug.logWarning(e, errMsg, module);
|
||||
throw new ScriptException(errMsg);
|
||||
}
|
||||
toMap.putAll(modelService.makeValid(inputMap, "IN", true, UtilGenerics.checkList(ctxHelper.getErrorMessages()), ctxHelper.getTimeZone(), ctxHelper.getLocale()));
|
||||
toMap.putAll(modelService.makeValid(inputMap, ModelService.IN_PARAM, true, UtilGenerics.checkList(ctxHelper.getErrorMessages()), ctxHelper.getTimeZone(), ctxHelper.getLocale()));
|
||||
return toMap;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user