diff --git a/plugin/bbb/cron_close_meeting.php b/plugin/bbb/cron_close_meeting.php index 0d694b8e89..c74b69a973 100644 --- a/plugin/bbb/cron_close_meeting.php +++ b/plugin/bbb/cron_close_meeting.php @@ -1,6 +1,6 @@ pluginEnabled) { $meetingBBB = $bbb->getMeetingInfo( [ 'meetingId' => $value['remote_id'], - 'password' => $value['moderator_pw'] + 'password' => $value['moderator_pw'], ] ); if ($meetingBBB === false) { //checking with the remote_id didn't work, so just in case and // to provide backwards support, check with the id - $params = array( + $params = [ 'meetingId' => $value['id'], - 'password' => $value['moderator_pw'] - ); + 'password' => $value['moderator_pw'], + ]; $meetingBBB = $bbb->getMeetingInfo($params); } @@ -55,7 +55,7 @@ if ($bbb->pluginEnabled) { $roomTable, [ 'where' => [ - 'meeting_id = ? AND participant_id = ?' => [$meetingId, $participantId] + 'meeting_id = ? AND participant_id = ?' => [$meetingId, $participantId], ], 'order' => 'id DESC', ], diff --git a/plugin/bbb/listing.php b/plugin/bbb/listing.php index 6df6b66a14..3b43eb0943 100755 --- a/plugin/bbb/listing.php +++ b/plugin/bbb/listing.php @@ -169,7 +169,7 @@ if ($conferenceManager) { $meetingBBB = $bbb->getMeetingInfo( [ 'meetingId' => $remoteId, - 'password' => $pass + 'password' => $pass, ] ); @@ -179,7 +179,7 @@ if ($conferenceManager) { $params = [ 'meetingId' => $meetingId, // -- REQUIRED - The unique id for the meeting - 'password' => $pass + 'password' => $pass, // -- REQUIRED - The moderator password for the meeting ]; $meetingBBB = $bbb->getMeetingInfo($params); @@ -194,7 +194,7 @@ if ($conferenceManager) { $roomTable, [ 'where' => [ - 'meeting_id = ? AND participant_id = ?' => [$meetingId, $participantId] + 'meeting_id = ? AND participant_id = ?' => [$meetingId, $participantId], ], 'order' => 'id DESC', ],