Index: trunk/extensions/EducationProgram/includes/EPRoleObject.php |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | foreach ( $courses as /* EPCourse */ $course ) { |
144 | 144 | $courseIds[] = $course->getId(); |
145 | 145 | $course->setUpdateSummaries( false ); |
146 | | - $success = $course->enlistUsers( $this->getField( 'user_id' ), $this->getRoleName() ) && $success; |
| 146 | + $success = $course->enlistUsers( $this->loadAndGetField( 'user_id' ), $this->getRoleName() ) && $success; |
147 | 147 | $course->setUpdateSummaries( true ); |
148 | 148 | } |
149 | 149 | |