Skip to content
Browse files

mod-lesson MDL-26599 Fixed echo causing incorrect nesting.

  • Loading branch information...
1 parent eb9d692 commit f3a3c59f4821dfdbcefca3b7baa23f1659e96ccc Sam Hemelryk committed Mar 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lesson/locallib.php
View
2 mod/lesson/locallib.php
@@ -2030,7 +2030,7 @@ public function properties() {
$result->feedback = $OUTPUT->box(format_text($this->get_contents(), $this->properties->contentsformat, $options), 'generalbox boxaligncenter');
$result->feedback .= '<div class="correctanswer generalbox"><em>'.get_string("youranswer", "lesson").'</em> : '.$result->studentanswer; // already in clean html
$result->feedback .= $OUTPUT->box($result->response, $class); // already conerted to HTML
- echo "</div>";
+ $result->feedback .= '</div>';
}
}
}

0 comments on commit f3a3c59

Please sign in to comment.
Something went wrong with that request. Please try again.