[Pkg-owncloud-commits] [owncloud] 108/215: Can't use function return value in write context
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:30 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 1341d03455d8ee90313661b3ebb3314e5c5bde08
Author: Joas Schilling <nickvergessen at owncloud.com>
Date: Mon Apr 27 14:28:31 2015 +0200
Can't use function return value in write context
---
settings/admin.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/settings/admin.php b/settings/admin.php
index b8d8c67..e8d9c65 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -120,7 +120,8 @@ $template->assign('databaseOverload', $databaseOverload);
$template->assign('cronErrors', $appConfig->getValue('core', 'cronErrors'));
// warn if php is not setup properly to get system variables with getenv
-$template->assign('getenvServerNotWorking', empty(getenv('PATH')));
+$path = getenv('PATH');
+$template->assign('getenvServerNotWorking', empty($path));
// warn if Windows is used
$template->assign('WindowsWarning', OC_Util::runningOnWindows());
--
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