summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/wpmu-edit.php')
-rw-r--r--wp-admin/wpmu-edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php
index b233fa2..26cd97a 100644
--- a/wp-admin/wpmu-edit.php
+++ b/wp-admin/wpmu-edit.php
@@ -118,7 +118,7 @@ switch( $_GET[ 'action' ] ) {
$blog = $_POST['blog'];
$domain = strtolower( wp_specialchars( $blog['domain'] ) );
$email = wp_specialchars( $blog['email'] );
- if( $email != '' && !is_email( $email ) )
+ if( !is_email( $email ) )
die( "Invalid email address" );
if( constant( "VHOST" ) == 'yes' ) {
$newdomain = $domain.".".$current_site->domain;