summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Services/ServerCheckService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/ServerCheckService.php b/app/Services/ServerCheckService.php
index 7545cf1f01..7be88aec18 100644
--- a/app/Services/ServerCheckService.php
+++ b/app/Services/ServerCheckService.php
@@ -157,7 +157,7 @@ class ServerCheckService
}, $disable_functions);
if (in_array($function, $disable_functions)) {
- $errors[] = I18N::translate('The PHP function ā€œ%1$sā€ is disabled.', $function . '()');
+ return I18N::translate('The PHP function ā€œ%1$sā€ is disabled.', $function . '()');
}
return '';