Skip to content

Commit

Permalink
spx ILIAS-eLearning#1737 added enableSubscriptionMembershipLimitation…
Browse files Browse the repository at this point in the history
… affected by $a_active
  • Loading branch information
Denis Kloepfer committed Oct 21, 2015
1 parent c34c3e2 commit 9f4ea78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/GEV/Utils/classes/class.gevCourseUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ public function setWaitingListActive($a_active, $a_update_course = true) {
$this->amd->setField($this->crs_id, gevSettings::CRS_AMD_WAITING_LIST_ACTIVE, $a_active ? gevSettings::YES : gevSettings::NO);

if ($a_update_course) {
$this->getCourse()->enableSubscriptionMembershipLimitation(true);
$this->getCourse()->enableSubscriptionMembershipLimitation($a_active);
$this->getCourse()->enableWaitingList($a_active);
$this->getCourse()->update();
}
Expand Down

0 comments on commit 9f4ea78

Please sign in to comment.