Start working on multiple choice questions.
[platal.git] / modules / survey.php
index 832d3a4..d1626a8 100644 (file)
@@ -106,6 +106,7 @@ class SurveyModule extends PLModule
 
             $q_edit = Post::v('q_edit');
             $qs = array();
+            $survey->clearQuestions();
             foreach ($q_edit as $qid => $q_desc) {
                 if (isset($q_desc['parent'])) {
                     $parent = $qs[$q_desc['parent']];