summaryrefslogtreecommitdiffstats
path: root/wp-admin
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-16 13:13:56 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-16 13:13:56 +0000
commit9e0523ca22d0ad2fbfe5c920eaeaf4d0e173f65b (patch)
treedff42db6785f5eade450d375e0d4f9f90de4ec16 /wp-admin
parentab00ba3f858e06087fd03826c8bac88bc62ff4e4 (diff)
downloadwordpress-mu-9e0523ca22d0ad2fbfe5c920eaeaf4d0e173f65b.tar.gz
wordpress-mu-9e0523ca22d0ad2fbfe5c920eaeaf4d0e173f65b.tar.xz
wordpress-mu-9e0523ca22d0ad2fbfe5c920eaeaf4d0e173f65b.zip
No need to check if email is blank
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1082 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin')
-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;