summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/util.php')
-rw-r--r--lib/private/legacy/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index efa488b434d..7e083b2ba0e 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -894,7 +894,7 @@ class OC_Util {
}
foreach($invalidIniSettings as $setting) {
if(is_bool($setting[1])) {
- $setting[1] = ($setting[1]) ? 'on' : 'off';
+ $setting[1] = $setting[1] ? 'on' : 'off';
}
$errors[] = [
'error' => $l->t('PHP setting "%s" is not set to "%s".', [$setting[0], var_export($setting[1], true)]),