Changeset 961

Show
Ignore:
Timestamp:
04/13/07 10:14:36 (2 years ago)
Author:
donncha
Message:

Check the illegal names is set before checking against it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-signup.php

    r958 r961  
    357357 
    358358// Main 
    359 if( in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) { 
     359if( !empty( get_site_option( 'illegal_names' ) ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true ) { 
    360360        header( "Location: http://{$current_site->domain}{$current_site->path}" ); 
    361361        die();