Fix course null

ofaj
jmontoyaa 9 years ago
parent b911908364
commit 952b2dc3c3
  1. 1
      plugin/bbb/lib/bbb.lib.php

@ -175,6 +175,7 @@ class bbb
$params['group_id'] = api_get_group_id();
}
$courseCode = is_null($courseCode) ? '' : $courseCode;
$params['attendee_pw'] = isset($params['moderator_pw']) ? $params['moderator_pw'] : $courseCode;
$attendeePassword = $params['attendee_pw'];
$params['moderator_pw'] = isset($params['moderator_pw']) ? $params['moderator_pw'] : $this->getModMeetingPassword();

Loading…
Cancel
Save