summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-09-10 16:15:47 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-09-10 16:15:47 +0000
commite42084c513d54c5292941584aeff51f987ab961f (patch)
tree336fd31f790d9b3d90fa17d8243af3a7ae762e10 /index-install.php
parent597385fb95ff92cc6c5614a336b42d37cf91223c (diff)
downloadwordpress-mu-e42084c513d54c5292941584aeff51f987ab961f.tar.gz
wordpress-mu-e42084c513d54c5292941584aeff51f987ab961f.tar.xz
wordpress-mu-e42084c513d54c5292941584aeff51f987ab961f.zip
You must enter an email address, fixes #383
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1049 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'index-install.php')
-rw-r--r--index-install.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index-install.php b/index-install.php
index 2ce3868..0b37147 100644
--- a/index-install.php
+++ b/index-install.php
@@ -360,6 +360,8 @@ function step3() {
if( strpos( $domain, '/' ) )
$domain = substr( $domain, 0, strpos( $domain, '/' ) );
$email = $wpdb->escape( $_POST[ 'email' ] );
+ if( $email == '' )
+ die( 'You must enter an email address!' );
$weblog_title = $wpdb->escape( $_POST[ 'weblog_title' ] );
// set up site tables