From 9e092ff827e00c8b4701ff1b1ac9d886872f54fe Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 22 Apr 2006 16:36:35 +0000 Subject: [PATCH] fixed typo and s() --- lib/editorlib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5