From 520668632f1e3c01dc1933c0ee5dd249ecace149 Mon Sep 17 00:00:00 2001 From: Jan Kessler Date: Thu, 19 Oct 2023 10:47:09 +0200 Subject: [PATCH] fix check for presence of parentMeetingId if isBreakout is true --- .../org/bigbluebutton/web/controllers/ApiController.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 00434d72c1..6c9bfbae7f 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,8 +127,8 @@ class ApiController { return } - if(params.isBreakout && !params.parentIdMeetingId) { - invalid("parentMeetingIdMissing", "No parent meeting ID was provided for the breakout room") + if(params.isBreakout == "true" && !params.parentMeetingID) { + invalid("parentMeetingIDMissing", "No parent meeting ID was provided for the breakout room") return }