summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax/getNewServerConfigPrefix.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/ajax/getNewServerConfigPrefix.php')
-rw-r--r--apps/user_ldap/ajax/getNewServerConfigPrefix.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/ajax/getNewServerConfigPrefix.php b/apps/user_ldap/ajax/getNewServerConfigPrefix.php
index 6118ac18566..4e95d6e02b5 100644
--- a/apps/user_ldap/ajax/getNewServerConfigPrefix.php
+++ b/apps/user_ldap/ajax/getNewServerConfigPrefix.php
@@ -34,7 +34,7 @@ $serverConnections = $helper->getServerConfigurationPrefixes();
sort($serverConnections);
$lk = array_pop($serverConnections);
$ln = (int)str_replace('s', '', $lk);
-$nk = 's'.str_pad($ln+1, 2, '0', STR_PAD_LEFT);
+$nk = 's'.str_pad($ln + 1, 2, '0', STR_PAD_LEFT);
$resultData = ['configPrefix' => $nk];