From 1c5299bff6af857fe6cf7578650e8489eabd1cf6 Mon Sep 17 00:00:00 2001 From: Pierre Pichet Date: Tue, 17 Nov 2009 02:20:40 +0000 Subject: [PATCH] MDL-20861 add the $this-> line 313 although was not able to test the result. --- question/type/numerical/questiontype.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; -- 2.39.5