Now assessment->resubmission is in backup/restore too.

This commit is contained in:
stronk7
2003-10-07 12:14:16 +00:00
parent 4a4f96bd79
commit 9bc0466171
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -227,6 +227,7 @@
fwrite ($bf,full_tag("TIMEAGREED",8,false,$wor_ass->timeagreed));
fwrite ($bf,full_tag("GRADE",8,false,$wor_ass->grade));
fwrite ($bf,full_tag("GRADINGGRADE",8,false,$wor_ass->gradinggrade));
fwrite ($bf,full_tag("RESUBMISSION",8,false,$wor_ass->resubmission));
fwrite ($bf,full_tag("MAILED",8,false,$wor_ass->mailed));
fwrite ($bf,full_tag("GENERALCOMMENT",8,false,$wor_ass->generalcomment));
fwrite ($bf,full_tag("TEACHERCOMMENT",8,false,$wor_ass->teachercomment));
+1
View File
@@ -306,6 +306,7 @@
$assessment->timeagreed = backup_todb($ass_info['#']['TIMEAGREED']['0']['#']);
$assessment->grade = backup_todb($ass_info['#']['GRADE']['0']['#']);
$assessment->gradinggrade = backup_todb($ass_info['#']['GRADINGGRADE']['0']['#']);
$assessment->resubmission = backup_todb($ass_info['#']['RESUBMISSION']['0']['#']);
$assessment->mailed = backup_todb($ass_info['#']['MAILED']['0']['#']);
$assessment->generalcomment = backup_todb($ass_info['#']['GENERALCOMMENT']['0']['#']);
$assessment->teachercomment = backup_todb($ass_info['#']['TEACHERCOMMENT']['0']['#']);