Skip to content

Commit

Permalink
MDL-25104 removing unnecessary $options = array_shift($oldoptions) li…
Browse files Browse the repository at this point in the history
…ne 192 that generates 2 question_numerical records,

this was added by inadvertence  in the last many lines modifications
  • Loading branch information
ppichet committed Nov 14, 2010
1 parent 7415aed commit b21aea7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion question/type/numerical/questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ function save_question_options($question) {
$DB->update_record('question_answers', $answer);

// Set up the options object
$options = array_shift($oldoptions);
if (!$options = array_shift($oldoptions)) {
$options = new stdClass();
}
Expand Down

0 comments on commit b21aea7

Please sign in to comment.