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