Permalink
Browse files

Strip slashes from print_simple_box (just in case)

1 parent 4b9b2f0 commit 16c0beb00bf1c73efe217293e2c16ccf219a53b9 moodler committed Oct 20, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
2 lib/moodlelib.php
@@ -132,7 +132,7 @@ function print_continue($link) {
function print_simple_box($message, $align="", $width="", $color="#FFFFFF", $padding=5, $border=1) {
print_simple_box_start($align, $width, $color, $padding, $border);
- echo "<P>$message</P>";
+ echo "<P>".stripslashes($message)."</P>";
print_simple_box_end();
}

0 comments on commit 16c0beb

Please sign in to comment.