Convert error and hint to string before writing to the output - fixes https://mailman.owncloud.org/pipermail/devel/2015-April/001184.html

This commit is contained in:
Thomas Müller 2015-04-16 12:32:17 +02:00
parent 2e06cf49a5
commit 07243f0482
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ class Application {
$errors = \OC_Util::checkServer(\OC::$server->getConfig());
if (!empty($errors)) {
foreach ($errors as $error) {
$output->writeln($error['error']);
$output->writeln($error['hint']);
$output->writeln((string)$error['error']);
$output->writeln((string)$error['hint']);
$output->writeln('');
}
throw new \Exception("Environment not properly prepared.");