MDL-25104 removing unnecessary $options = array_shift($oldoptions) line 192 that generates 2 question_numerical records,

this was added by inadvertence  in the last many lines modifications
This commit is contained in:
Pierre Pichet
2010-11-14 03:51:35 +00:00
parent 7415aed103
commit b21aea7408
-1
View File
@@ -195,7 +195,6 @@ class question_numerical_qtype extends question_shortanswer_qtype {
$DB->update_record('question_answers', $answer);
// Set up the options object
$options = array_shift($oldoptions);
if (!$options = array_shift($oldoptions)) {
$options = new stdClass();
}