This commit is contained in:
Eloy Lafuente (stronk7)
2013-03-19 16:33:28 +01:00
+1 -1
View File
@@ -587,7 +587,7 @@ class qtype_calculated extends question_type {
*/
public function save_question($question, $form) {
global $DB;
if ($this->wizardpagesnumber() == 1) {
if ($this->wizardpagesnumber() == 1 || $question->qtype == 'calculatedsimple') {
$question = parent::save_question($question, $form);
return $question;
}