Skip to content

Commit bc1c497

Browse files
committed
fix(translation): Fix string concatenation in LDAP endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 76486b7 commit bc1c497

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/user_ldap/ajax/wizard.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@
9898
$setParameters = [];
9999
$configuration->setConfiguration($cfg, $setParameters);
100100
if (!in_array($key, $setParameters)) {
101-
\OC_JSON::error(['message' => $l->t($key.
102-
' Could not set configuration %s', $setParameters[0])]);
101+
\OC_JSON::error(['message' => $l->t('Could not set configuration %1$s to %2$s', [$key, $setParameters[0]])]);
103102
exit;
104103
}
105104
$configuration->saveConfiguration();

0 commit comments

Comments
 (0)