Use echo since print_unescaped is not defined

Fixes https://github.com/owncloud/core/issues/8342
This commit is contained in:
Lukas Reschke 2014-04-24 18:41:06 +02:00
parent 40257d9736
commit d85b64ede6

View file

@ -34,7 +34,7 @@ try {
if (OC::$CLI) {
print_r($values);
} else {
print_unescaped(json_encode($values));
echo(json_encode($values));
}
} catch (Exception $ex) {