Skip to content

Commit

Permalink
newest develop
Browse files Browse the repository at this point in the history
  • Loading branch information
mstuder committed Apr 12, 2019
1 parent f39a39d commit d475387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UserSetting/UserSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ protected function assignCourses() {
if ($crs_obj_id == "" || ilObject2::_lookupType($crs_obj_id) != Courses::TYPE_CRS) {
continue;
}
$crs = new ilObjCourse($crs_obj_id);
$crs = new ilObjCourse($crs_obj_id,false);
$part = ilCourseParticipants::_getInstanceByObjId($crs_obj_id);
$usr_id = $this->getUsrObject()->getId();
$added = $part->add($usr_id, ilCourseConstants::CRS_MEMBER);
Expand Down

0 comments on commit d475387

Please sign in to comment.