From: Andreas Fischer Date: Sat, 26 Apr 2014 12:50:34 +0000 (+0200) Subject: "echo" is a language construct. Don't treat it like a function. X-Git-Tag: v7.0.0alpha2~350^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff6564af571fa5c5b21f708d20cef6f02205bc00;p=nextcloud-server.git "echo" is a language construct. Don't treat it like a function. --- diff --git a/status.php b/status.php index 861eaed9cd2..a42c1581b83 100644 --- a/status.php +++ b/status.php @@ -34,7 +34,7 @@ try { if (OC::$CLI) { print_r($values); } else { - echo(json_encode($values)); + echo json_encode($values); } } catch (Exception $ex) {