Merge pull request #1764 from dtap-gmbh/issue1757

Using the parsed form parameter 'options' instead of looking for an U…
This commit is contained in:
Antonin Delpeuch 2018-11-25 18:44:07 +00:00 committed by GitHub
commit a5ba16db66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ public class CreateProjectCommand extends Command {
} }
JSONObject optionObj = null; JSONObject optionObj = null;
String optionsString = request.getParameter("options"); String optionsString = parameters.getProperty("options");
if (optionsString != null && !optionsString.isEmpty()) { if (optionsString != null && !optionsString.isEmpty()) {
optionObj = ParsingUtilities.evaluateJsonStringToObject(optionsString); optionObj = ParsingUtilities.evaluateJsonStringToObject(optionsString);
} else { } else {