From: Bart Visscher Date: Thu, 10 May 2012 07:13:09 +0000 (+0200) Subject: The log message is not always shown in html X-Git-Tag: v4.0.0RC~73 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a9d7c67bf2e906fceea40b41f4780e623226fdff;p=nextcloud-server.git The log message is not always shown in html The log message can also be logged with syslog, here we don't want to have html-entities. Also the log messages through json are displayed as text not html. --- diff --git a/lib/log.php b/lib/log.php index bccc46846ce..8bb2839be66 100644 --- a/lib/log.php +++ b/lib/log.php @@ -34,6 +34,6 @@ class OC_Log { call_user_func(array(self::$class, 'init')); } $log_class=self::$class; - $log_class::write($app, htmlentities($message), $level); + $log_class::write($app, $message, $level); } } diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 38c6042c82a..d167f2780ef 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -29,7 +29,7 @@ $levels=array('Debug','Info','Warning','Error','Fatal'); app;?> - message;?> + message);?> time);?>