Skip to content

Commit

Permalink
Questions with parents are no longer exported.
Browse files Browse the repository at this point in the history
  • Loading branch information
thepurpleblob committed May 11, 2005
1 parent ab83607 commit 0f7a288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/quiz/format.php
Expand Up @@ -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)) {
Expand Down

0 comments on commit 0f7a288

Please sign in to comment.