diff options
Diffstat (limited to 'apps/user_ldap/settings.php')
-rw-r--r-- | apps/user_ldap/settings.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index 5b679683f27..d5d2f648b38 100644 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -49,6 +49,9 @@ foreach($prefixes as $prefix) { $scoHtml .= '<option value="'.$prefix.'"'.$sel.'>'.$i++.'. Server</option>'; $sel = ''; } +if(count($prefixes) == 0) { + $scoHtml .= '<option value="" selected>1. Server</option>'; +} $tmpl->assign('serverConfigurationOptions', $scoHtml, false); // assign default values |