Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Strip slashes from print_simple_box (just in case)

  • Loading branch information...
commit 16c0beb00bf1c73efe217293e2c16ccf219a53b9 1 parent 4b9b2f0
moodler authored
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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.