Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -660,11 +660,11 @@ |
661 | 661 | $retval = true; |
662 | 662 | } |
663 | 663 | |
664 | | - if ( isset( $wgLDAPUpdateLDAP[$_SESSION['wsDomain']] ) && $wgLDAPUpdateLDAP[$_SESSION['wsDomain']] ) { |
| 664 | + if ( isset( $_SESSION['wsDomain'] ) && isset( $wgLDAPUpdateLDAP[$_SESSION['wsDomain']] ) && $wgLDAPUpdateLDAP[$_SESSION['wsDomain']] ) { |
665 | 665 | $retval = true; |
666 | 666 | } |
667 | 667 | |
668 | | - if ( isset( $wgLDAPMailPassword[$_SESSION['wsDomain']] ) && $wgLDAPMailPassword[$_SESSION['wsDomain']] ) { |
| 668 | + if ( isset( $_SESSION['wsDomain'] ) && isset( $wgLDAPMailPassword[$_SESSION['wsDomain']] ) && $wgLDAPMailPassword[$_SESSION['wsDomain']] ) { |
669 | 669 | $retval = true; |
670 | 670 | } |
671 | 671 | |