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
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ try {
|
|||
if (OC::$CLI) {
|
||||
print_r($values);
|
||||
} else {
|
||||
print_unescaped(json_encode($values));
|
||||
echo(json_encode($values));
|
||||
}
|
||||
|
||||
} catch (Exception $ex) {
|
||||
|
|
Loading…
Reference in a new issue