diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-04-16 14:51:29 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-04-16 14:51:29 +0200 |
commit | c7e5e30b86733a22ac0d411e00537b10e0220ddd (patch) | |
tree | a3c2b8f1e2ebc506312ed98b89fb533462fbc9fc /lib | |
parent | 3e1b58dd3d1d5c3d02586e1045d7eae02fe25b53 (diff) | |
parent | 07243f048216b313989d0c794c092eda5d1d8575 (diff) | |
download | nextcloud-server-c7e5e30b86733a22ac0d411e00537b10e0220ddd.tar.gz nextcloud-server-c7e5e30b86733a22ac0d411e00537b10e0220ddd.zip |
Merge pull request #15674 from owncloud/fix-console-check-output
Convert error and hint to string before writing to the output
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/console/application.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/console/application.php b/lib/private/console/application.php index 551d69ef53c..6d24665e012 100644 --- a/lib/private/console/application.php +++ b/lib/private/console/application.php @@ -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."); |