From 3dc4cb28d97f3f1a1fcb35d4942daa0ae56cad4d Mon Sep 17 00:00:00 2001 From: Paul Trudel <35616208+paultrudel@users.noreply.github.com> Date: Fri, 20 Oct 2023 08:27:09 -0400 Subject: [PATCH] Update bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy Co-authored-by: Gustavo Trott --- .../org/bigbluebutton/web/controllers/ApiController.groovy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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