$status = quiz_backup_match($bf,$preferences,$question->id);
} else if ($question->qtype == "6") {
$status = quiz_backup_randomsamatch($bf,$preferences,$question->id);
+ } else if ($question->qtype == "7") {
+ //Description question. Nothing to write.
}
//End question
$status =fwrite ($bf,end_tag("QUESTION",5,true));
$status = quiz_restore_match($oldid,$newid,$que_info,$restore);
} else if ($question->qtype == "6") {
$status = quiz_restore_randomsamatch($oldid,$newid,$que_info,$restore);
+ } else if ($question->qtype == "7") {
+ //Description question. Nothing to do.
}
} else {
$status = false;
}
$response->answer = $answer_field;
break;
+ case 7: //DESCRIPTION QTYPE
+ //Nothing to do (there is no awser to this qtype)
+ //But this case must exist !!
+ break;
default: //UNMATCHED QTYPE.
//This is an error (unimplemented qtype)
$status = false;