From: moodler Date: Tue, 31 Oct 2006 04:38:39 +0000 (+0000) Subject: Killed infinite loop when upgrading teachers! (merge from stable) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=459e27f3a0511ae6bbb4a4eb51ad687b7ec441e4;p=moodle.git Killed infinite loop when upgrading teachers! (merge from stable) --- diff --git a/lib/accesslib.php b/lib/accesslib.php index 04ff512c17..caf28dd0ed 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -1231,6 +1231,7 @@ function moodle_install_roles() { // ignore site level teacher assignments if ($teacher->course == SITEID) { $progresscount++; + $rs->MoveNext(); continue; } // populate the user_lastaccess table