Permalink
Browse files

Questions with parents are no longer exported.

  • Loading branch information...
1 parent ab83607 commit 0f7a2885a0ae2bcc2c56b281b3ee291194e4c5e3 thepurpleblob committed May 11, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/format.php
View
@@ -199,8 +199,8 @@ function exportprocess($filename) {
}
// 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)) {

0 comments on commit 0f7a288

Please sign in to comment.