From: Pierre Pichet Date: Tue, 17 Nov 2009 02:20:40 +0000 (+0000) Subject: MDL-20861 add the $this-> line 313 although was not able to test the result. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c5299bff6af857fe6cf7578650e8489eabd1cf6;p=moodle.git MDL-20861 add the $this-> line 313 although was not able to test the result. --- diff --git a/question/type/numerical/questiontype.php b/question/type/numerical/questiontype.php index 172bce1b42..63cbc5bef7 100644 --- a/question/type/numerical/questiontype.php +++ b/question/type/numerical/questiontype.php @@ -1,6 +1,5 @@ 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];