]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11510, referencing to wrong fields
authortoyomoyo <toyomoyo>
Wed, 10 Oct 2007 07:05:48 +0000 (07:05 +0000)
committertoyomoyo <toyomoyo>
Wed, 10 Oct 2007 07:05:48 +0000 (07:05 +0000)
backup/backuplib.php

index cc9b00453faf486beec0ce66d7bd2df507d58c25..0ddbf418dc51cc2facf6c1b0fd3abd26191278ca 100644 (file)
                 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));