fixed typo and s()

This commit is contained in:
skodak
2006-04-22 16:36:35 +00:00
parent e77ea6403a
commit 9e092ff827
+2 -2
View File
@@ -116,10 +116,10 @@ class editorObject {
*
* @param string $message
*/
function error($messsage) {
function error($message) {
echo '<div style="text-align: center; font-weight: bold; color: red;">';
echo '<span style="color: black;">editorObject error:</span> ';
echo stripslashes(htmlentities($message));
echo s($message, true);
echo '</div>';
exit;
}