1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00

Merge remote-tracking branch 'wiistriker/patch-1'

This commit is contained in:
Jordi Boggiano
2013-10-31 22:32:31 +01:00

View File

@@ -94,7 +94,7 @@ class LineFormatter extends NormalizerFormatter
$data = $this->normalize($data);
if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
return $this->toJson($data);
return $this->toJson($data, true);
}
return str_replace('\\/', '/', json_encode($data));