]> git.mjollnir.org Git - moodle.git/commitdiff
fixing a typo
authortoyomoyo <toyomoyo>
Wed, 30 May 2007 02:22:43 +0000 (02:22 +0000)
committertoyomoyo <toyomoyo>
Wed, 30 May 2007 02:22:43 +0000 (02:22 +0000)
backup/backuplib.php

index 867e8e83af8bb7fd905070d12e95b0260936b6c2..4c388d9dcdd56efe743c7ec827c11f3e935b3135 100644 (file)
         $status = true;
         
         // find all calculations belonging to this item
-        if ($histories = get_records('grades_history', 'itemid', $itemid)) {
+        if ($histories = get_records('grade_history', 'itemid', $itemid)) {
             fwrite ($bf,start_tag("GRADE_GRADES_HISTORY",5,true));
             foreach ($histories as $history) {
                 fwrite ($bf,start_tag("GRADE_HISTORY",6,true));