summaryrefslogtreecommitdiffstats
path: root/lib/log.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-10 09:13:09 +0200
committerBart Visscher <bartv@thisnet.nl>2012-05-10 09:13:09 +0200
commita9d7c67bf2e906fceea40b41f4780e623226fdff (patch)
treea2cb6af3360647057ca5e8352cea86c35239f564 /lib/log.php
parent94803dc22207926439414d597d830db8aacc0db6 (diff)
downloadnextcloud-server-a9d7c67bf2e906fceea40b41f4780e623226fdff.tar.gz
nextcloud-server-a9d7c67bf2e906fceea40b41f4780e623226fdff.zip
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.
Diffstat (limited to 'lib/log.php')
-rw-r--r--lib/log.php2
1 files changed, 1 insertions, 1 deletions
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);
}
}