summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-04-13 14:06:23 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-04-13 14:06:23 +0000
commit27abc4330e63fd84b0835c4223a2b3a0c06e2241 (patch)
tree2f27ddc08a2da57913b4af769045ff91c120ac3a /wp-signup.php
parent03ec11465b6e8058cb9b904e9ab111ed7d92fd75 (diff)
downloadwordpress-mu-27abc4330e63fd84b0835c4223a2b3a0c06e2241.zip
wordpress-mu-27abc4330e63fd84b0835c4223a2b3a0c06e2241.tar.gz
wordpress-mu-27abc4330e63fd84b0835c4223a2b3a0c06e2241.tar.xz
Fix check for illegal names
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@962 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-signup.php b/wp-signup.php
index d0b6e6f..7e0cfc1 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -356,7 +356,7 @@ function confirm_blog_signup($domain, $path, $blog_title, $user_name, $user_emai
}
// Main
-if( !empty( get_site_option( 'illegal_names' ) ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) {
+if( is_array( get_site_option( 'illegal_names' )) && $_GET[ 'new' ] != '' && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) {
header( "Location: http://{$current_site->domain}{$current_site->path}" );
die();
}