Permalink
Browse files

fixed bug 3606, thanks Ilshat Fattakhov

  • Loading branch information...
1 parent 0e5947d commit 0c2a8be9184e257bd3a756da4ad3b48e78f89307 skodak committed Jul 10, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
2 lib/datalib.php
@@ -2019,7 +2019,7 @@ function get_group_teachers($courseid, $groupid) {
if (($teacher->authority > 0) and ismember($groupid, $teacher->id)) { // Specific group teachers
continue;
}
- unset($teacher[$key]);
+ unset($teachers[$key]);
}
}
return $teachers;

0 comments on commit 0c2a8be

Please sign in to comment.