Questions with parents are no longer exported.

This commit is contained in:
thepurpleblob
2005-05-11 09:56:35 +00:00
parent ab83607e8b
commit 0f7a2885a0
+2 -2
View File
@@ -199,8 +199,8 @@ class quiz_default_format {
}
// get the questions (from database) in this category
// $questions = get_records("quiz_questions","category",$this->category->id);
$questions = get_questions_category( $this->category );
// only get q's with no parents (no cloze subquestions specifically)
$questions = get_questions_category( $this->category, true );
notify("Exporting questions.");
if (!count($questions)) {