Permalink
Browse files

MDL-43200 WebServices: Reset Instance variable

  • Loading branch information...
1 parent 4f6e4f8 commit a1b52cb28208798ccded97f449b54e59160b75d5 @apsdehal apsdehal committed Feb 4, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 enrol/manual/externallib.php
View
1 enrol/manual/externallib.php
@@ -109,6 +109,7 @@ public static function enrol_users($enrolments) {
}
// Check manual enrolment plugin instance is enabled/exist.
+ $instance = null;
$enrolinstances = enrol_get_instances($enrolment['courseid'], true);
foreach ($enrolinstances as $courseenrolinstance) {
if ($courseenrolinstance->enrol == "manual") {

0 comments on commit a1b52cb

Please sign in to comment.