Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -324,7 +324,7 @@ |
325 | 325 | switch ( $preference ) { |
326 | 326 | case 'ServerNames': |
327 | 327 | global $wgLDAPServerNames; |
328 | | - return self::setOrDefault( $wgLDAPServerNames, $domain, array() ); |
| 328 | + return self::setOrDefault( $wgLDAPServerNames, $domain ); |
329 | 329 | case 'UseLocal': |
330 | 330 | global $wgLDAPUseLocal; |
331 | 331 | return $wgLDAPUseLocal; |