]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20861 add the $this-> line 313 although was not able to test the result.
authorPierre Pichet <pichet.pierre@uqam.ca>
Tue, 17 Nov 2009 02:20:40 +0000 (02:20 +0000)
committerPierre Pichet <pichet.pierre@uqam.ca>
Tue, 17 Nov 2009 02:20:40 +0000 (02:20 +0000)
question/type/numerical/questiontype.php

index 172bce1b4247875130ce49755f2f9a1c56b4d76e..63cbc5bef7b4279a212bba67f09ba28b4ef3cb60 100644 (file)
@@ -1,6 +1,5 @@
 <?php
 /**
- * @version $Id$
  * @author Martin Dougiamas and many others. Tim Hunt.
  * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
  * @package questionbank
@@ -311,7 +310,7 @@ class question_numerical_qtype extends question_shortanswer_qtype {
         // temporary
              $state->responses['answer']= $state->responses[''];
              $state->responses['unit'] = '';
-             split_old_answer($state->responses[''], $question->options->units, $state->responses['answer'] ,$state->responses['unit'] );
+             $this->split_old_answer($state->responses[''], $question->options->units, $state->responses['answer'] ,$state->responses['unit'] );
        }else {
             $responses = explode('|||||', $state->responses['']);
             $state->responses['answer']= $responses[0];