From: skodak Date: Sat, 22 Apr 2006 16:36:35 +0000 (+0000) Subject: fixed typo and s() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9e092ff827e00c8b4701ff1b1ac9d886872f54fe;p=moodle.git fixed typo and s() --- diff --git a/lib/editorlib.php b/lib/editorlib.php index ea27966705..439792b6a4 100644 --- a/lib/editorlib.php +++ b/lib/editorlib.php @@ -116,10 +116,10 @@ class editorObject { * * @param string $message */ - function error($messsage) { + function error($message) { echo '
'; echo 'editorObject error: '; - echo stripslashes(htmlentities($message)); + echo s($message, true); echo '
'; exit; }