"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) {
|
if (OC::$CLI) {
|
||||||
print_r($values);
|
print_r($values);
|
||||||
} else {
|
} else {
|
||||||
echo(json_encode($values));
|
echo json_encode($values);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $ex) {
|
||||||
|
|
Loading…
Reference in New Issue