From: toyomoyo Date: Wed, 10 Oct 2007 07:05:48 +0000 (+0000) Subject: MDL-11510, referencing to wrong fields X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=313fcb6aeac03731989e06d83178c7633c458332;p=moodle.git MDL-11510, referencing to wrong fields --- diff --git a/backup/backuplib.php b/backup/backuplib.php index cc9b00453f..0ddbf418dc 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -1515,8 +1515,8 @@ fwrite ($bf,full_tag("MULTFACTOR",5,false,$grade_item->multfactor)); fwrite ($bf,full_tag("PLUSFACTOR",5,false,$grade_item->plusfactor)); fwrite ($bf,full_tag("AGGREGATIONCOEF",5,false,$grade_item->aggregationcoef)); - fwrite ($bf,full_tag("DISPLAY",5,false,$grade_item->plusfactor)); - fwrite ($bf,full_tag("DECIMALS",5,false,$grade_item->plusfactor)); + fwrite ($bf,full_tag("DISPLAY",5,false,$grade_item->display)); + fwrite ($bf,full_tag("DECIMALS",5,false,$grade_item->decimals)); fwrite ($bf,full_tag("HIDDEN",5,false,$grade_item->hidden)); fwrite ($bf,full_tag("LOCKED",5,false,$grade_item->locked)); fwrite ($bf,full_tag("LOCKTIME",5,false,$grade_item->locktime));