]> git.mjollnir.org Git - moodle.git/commitdiff
Strip slashes from print_simple_box (just in case)
authormoodler <moodler>
Sun, 20 Oct 2002 10:12:12 +0000 (10:12 +0000)
committermoodler <moodler>
Sun, 20 Oct 2002 10:12:12 +0000 (10:12 +0000)
lib/moodlelib.php

index 814c92a2f34fe3a6c8383ebf318ba949654fba1a..e32c493fddb9f2b261635178d536e72ab7974767 100644 (file)
@@ -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();
 }