]> git.mjollnir.org Git - moodle.git/commitdiff
merged fixing progress count
authortoyomoyo <toyomoyo>
Mon, 30 Oct 2006 05:40:46 +0000 (05:40 +0000)
committertoyomoyo <toyomoyo>
Mon, 30 Oct 2006 05:40:46 +0000 (05:40 +0000)
lib/accesslib.php

index 80c3cf1b8a0d4512022bbd1a4ce8bc67fba7b819..04ff512c17132e0bd2b81b7056bc3b645382e3a1 100755 (executable)
@@ -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