Skip to content

Commit

Permalink
MDL-28183 - fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Jan 8, 2013
1 parent b5b418b commit 9519d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion question/type/multianswer/question.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function clear_wrong_from_response(array $response) {
list($subfraction, $newstate) = $subq->grade_response($subresp);
if ($newstate != question_state::$gradedright) {
foreach ($subresp as $ind => $resp) {
if (($subq->layout == qtype_multichoice_base::LAYOUT_VERTICAL)
if (($subq->layout == qtype_multichoice_base::LAYOUT_VERTICAL)
|| ($subq->layout == qtype_multichoice_base::LAYOUT_HORIZONTAL)) {
$response[$substep->add_prefix($ind)] = '-1';
} else {
Expand Down

0 comments on commit 9519d41

Please sign in to comment.