diff --git a/guest.php b/guest.php index 4d1f8ab..6fedc5a 100644 --- a/guest.php +++ b/guest.php @@ -374,7 +374,8 @@ private function __construct() if($available_sessions['max_sessions'] || ( key_exists($this->pluginObject->getBBBId(), $available_sessions['meetings']) && $available_sessions['meetings'][$this->pluginObject->getBBBId()]['userlimit'])){ $this->errState['userLimit'] = true; } - }else if( !$this->errState['displayname'] ) { + } + if( !$this->errState['displayname'] ) { $this->bbb = new ilBBB($this->pluginConfig->getSvrSalt(), $this->pluginConfig->getSvrPublicUrl()); $this->attendeePwd = $this->pluginObject->getAttendeePwd(); $this->setMeetingId();