Skip to content
Snippets Groups Projects
Commit fbfedd1c authored by falcon's avatar falcon
Browse files

#636662 reported by neorg: Do not allow several versions of a question in one and the same quiz.

parent aa58517b
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,8 @@ abstract class QuizQuestion {
}
$questions_kept = $this->saveRelationships();
if ($questions_kept) {
unset($_REQUEST['destination']);
unset($_REQUEST['edit']['destination']);
drupal_goto('quiz_question/'. $this->node->nid .'/'. $this->node->vid .'/'. revision_actions);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment