[Pkg-owncloud-commits] [owncloud] 10/165: Convert error and hint to string before writing to the output - fixes https://mailman.owncloud.org/pipermail/devel/2015-April/001184.html
David Prévot
taffit at moszumanska.debian.org
Thu Apr 23 04:06:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 07243f048216b313989d0c794c092eda5d1d8575
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Thu Apr 16 12:32:17 2015 +0200
Convert error and hint to string before writing to the output - fixes https://mailman.owncloud.org/pipermail/devel/2015-April/001184.html
---
lib/private/console/application.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/private/console/application.php b/lib/private/console/application.php
index 551d69e..6d24665 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.");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list