diff --git a/lib/accesslib.php b/lib/accesslib.php index 80c3cf1b8a0..04ff512c171 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -1230,6 +1230,7 @@ function moodle_install_roles() { $teacher = $rs->FetchObj(); // ignore site level teacher assignments if ($teacher->course == SITEID) { + $progresscount++; continue; } // populate the user_lastaccess table