Index: trunk/extensions/CentralAuth/CentralAuthHooks.php |
— | — | @@ -355,7 +355,7 @@ |
356 | 356 | // The user can log in via Special:UserLogin to bypass the blacklist and get a proper |
357 | 357 | // error message. |
358 | 358 | $session = CentralAuthUser::getSession(); |
359 | | - if ( in_array( wfWikiID(), (array)$session['auto-create-blacklist'] ) ) { |
| 359 | + if ( isset( $session['auto-create-blacklist'] ) && in_array( wfWikiID(), (array)$session['auto-create-blacklist'] ) ) { |
360 | 360 | wfDebug( __METHOD__.": blacklisted by session\n" ); |
361 | 361 | return false; |
362 | 362 | } |