Index: lams_central/src/java/org/lamsfoundation/lams/web/QuestionsController.java =================================================================== diff -u -r9846a1d61f34b45ba6db0e6a7daf2a620e607c83 -rbdbfb41770c933c155f327d5dd1cfbd09138b31a --- lams_central/src/java/org/lamsfoundation/lams/web/QuestionsController.java (.../QuestionsController.java) (revision 9846a1d61f34b45ba6db0e6a7daf2a620e607c83) +++ lams_central/src/java/org/lamsfoundation/lams/web/QuestionsController.java (.../QuestionsController.java) (revision bdbfb41770c933c155f327d5dd1cfbd09138b31a) @@ -44,7 +44,7 @@ @RequestMapping("/questions") public String execute(@RequestParam(name = "file", required = false) MultipartFile file, @RequestParam String returnURL, @RequestParam("limitType") String limitTypeParam, - @RequestParam String callerID, @RequestParam(defaultValue = "false") boolean collectionChoice, + @RequestParam String callerID, @RequestParam(required = false) Boolean collectionChoice, HttpServletRequest request) throws Exception { String tempDirName = Configuration.get(ConfigurationKeys.LAMS_TEMP_DIR); @@ -69,7 +69,7 @@ // show only chosen types of questions request.setAttribute("limitType", limitTypeParam); - if (collectionChoice) { + if (collectionChoice != null && collectionChoice) { // in the view a drop down with collections will be displayed request.setAttribute("collections", qbService.getUserCollections(QuestionsController.getUserId())); }