fix for MDL-8491, feed back for essay questions not backed up

This commit is contained in:
moodler
2007-03-02 04:51:31 +00:00
parent 731f877fdb
commit c5c47d0c43
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -687,6 +687,7 @@
$session->newest = backup_todb($res_info['#']['NEWEST']['0']['#']);
$session->newgraded = backup_todb($res_info['#']['NEWGRADED']['0']['#']);
$session->sumpenalty = backup_todb($res_info['#']['SUMPENALTY']['0']['#']);
$session->comment = backup_todb($res_info['#']['COMMENT']['0']['#']);
//We have to recode the question field
$question = backup_getid($restore->backup_unique_code,"question",$session->questionid);