Permalink
Browse files

Merge branch 'w41_MDL-28980_m24_expirywarning' of git://github.com/sk…

…odak/moodle
  • Loading branch information...
2 parents c2e899a + da6cf13 commit be205a847a64021391cee1f696de3d8e591595ce @stronk7 stronk7 committed Oct 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 enrol/manual/lib.php
View
@@ -421,7 +421,8 @@ public function send_notifications($verbose = false) {
foreach($rs as $ue) {
if ($lastenrollid and $lastenrollid != $ue->enrolid) {
- $this->notify_expiry_enroller($ue->enrolid, $users, $verbose);
+ $this->notify_expiry_enroller($lastenrollid, $users, $verbose);
+ $users = array();
}
$lastenrollid = $ue->enrolid;

0 comments on commit be205a8

Please sign in to comment.