Use echo since print_unescaped is not defined
Fixes https://github.com/owncloud/core/issues/8342
This commit is contained in:
parent
40257d9736
commit
d85b64ede6
|
@ -34,7 +34,7 @@ try {
|
||||||
if (OC::$CLI) {
|
if (OC::$CLI) {
|
||||||
print_r($values);
|
print_r($values);
|
||||||
} else {
|
} else {
|
||||||
print_unescaped(json_encode($values));
|
echo(json_encode($values));
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $ex) {
|
||||||
|
|
Loading…
Reference in New Issue