diff --git a/backup/backuplib.php b/backup/backuplib.php index 867e8e83af8..4c388d9dcdd 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -1598,7 +1598,7 @@ $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));