diff --git a/bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy b/bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy index 88465fe72a..270c6bb86a 100755 --- a/bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy +++ b/bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy @@ -127,7 +127,12 @@ class ApiController { return } - if(params.isBreakout == "true") { + Boolean isBreakoutRoom = false + if (!StringUtils.isEmpty(params.isBreakout)) { + isBreakoutRoom = Boolean.parseBoolean(params.isBreakout) + } + + if(isBreakoutRoom) { if(!params.parentMeetingID) { invalid("parentMeetingIDMissing", "No parent meeting ID was provided for the breakout room") return