summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/legacy/OC_Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index 8debe7a8968..b353cac5c5f 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -739,7 +739,7 @@ class OC_Util {
foreach (['secret', 'instanceid', 'passwordsalt'] as $requiredConfig) {
if ($config->getValue($requiredConfig, '') === '' && !\OC::$CLI && $config->getValue('installed', false)) {
$errors[] = [
- 'error' => $l->t('The required \'' . $requiredConfig . '\' config variable is not configued in the config.php file.'),
+ 'error' => $l->t('The required %s config variable is not configued in the config.php file.', [$requiredConfig]),
'hint' => $l->t('Please ask your server administrator to check the Nextcloud configuration.')
];
}