Browse files

Merge branch 'MDL-38444_23' of https://github.com/ppichet/moodle into…

… MOODLE_23_STABLE
  • Loading branch information...
2 parents dd8ec00 + 475ba44 commit 6211a05866d9c15e0a808b83236028e489a6ee35 @stronk7 stronk7 committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/calculated/questiontype.php
View
2 question/type/calculated/questiontype.php
@@ -587,7 +587,7 @@ public function addnamecategory(&$question) {
*/
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;
}

0 comments on commit 6211a05

Please sign in to comment.