summaryrefslogtreecommitdiffstats
path: root/index-install.php
diff options
context:
space:
mode:
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