"echo" is a language construct. Don't treat it like a function.
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ try {
|
||||
if (OC::$CLI) {
|
||||
print_r($values);
|
||||
} else {
|
||||
echo(json_encode($values));
|
||||
echo json_encode($values);
|
||||
}
|
||||
|
||||
} catch (Exception $ex) {
|
||||
|
||||
Reference in New Issue
Block a user