diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-27 14:28:31 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-27 14:28:31 +0200 |
commit | 1341d03455d8ee90313661b3ebb3314e5c5bde08 (patch) | |
tree | 4a042f102ba195508955abc5b1248e2a6c2e71e2 /settings/admin.php | |
parent | 93c25a1f4af11483baaef447faa235c938b2a444 (diff) | |
download | nextcloud-server-1341d03455d8ee90313661b3ebb3314e5c5bde08.tar.gz nextcloud-server-1341d03455d8ee90313661b3ebb3314e5c5bde08.zip |
Can't use function return value in write context
Diffstat (limited to 'settings/admin.php')
-rw-r--r-- | settings/admin.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/admin.php b/settings/admin.php index b8d8c67d0f7..e8d9c6530db 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()); |