removing warnings during restore

This commit is contained in:
toyomoyo
2006-10-12 07:32:29 +00:00
parent d5ebb85dce
commit 1e006c3d5f
+1 -1
View File
@@ -55,7 +55,7 @@
$assignment->var3 = backup_todb($info['MOD']['#']['VAR3']['0']['#']);
$assignment->var4 = backup_todb($info['MOD']['#']['VAR4']['0']['#']);
$assignment->var5 = backup_todb($info['MOD']['#']['VAR5']['0']['#']);
$assignment->type = backup_todb($info['MOD']['#']['TYPE']['0']['#']);
$assignment->type = isset($info['MOD']['#']['TYPE']['0']['#'])?backup_todb($info['MOD']['#']['TYPE']['0']['#']):'';
$assignment->assignmenttype = backup_todb($info['MOD']['#']['ASSIGNMENTTYPE']['0']['#']);
$assignment->maxbytes = backup_todb($info['MOD']['#']['MAXBYTES']['0']['#']);
$assignment->timedue = backup_todb($info['MOD']['#']['TIMEDUE']['0']['#']);