summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-02 21:46:16 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-02 21:48:55 +0000
commitacf70b2ade9792d1343379b89ffa47fd8ec67f70 (patch)
tree72b0cc98cd8db7fa35da69c2bb3806bdf1731b9e
parentdb3aeb3eb846bb233f34557aedb1559aadf9275a (diff)
downloadwebtrees-acf70b2ade9792d1343379b89ffa47fd8ec67f70.tar.gz
webtrees-acf70b2ade9792d1343379b89ffa47fd8ec67f70.tar.bz2
webtrees-acf70b2ade9792d1343379b89ffa47fd8ec67f70.zip
Fix check for disabled functions
-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 '';