diff --git a/setup.php-presetup b/setup.php-presetup
index b98b8b1..dfa845f 100644
--- a/setup.php-presetup
+++ b/setup.php-presetup
@@ -109,7 +109,7 @@ case 'validate':
if ( $passwd and $passwd != $passwdv )
$er .= 'Password and password verification do not match.
';
- if ( $email && ! is_email($contact) )
+ if ( $contact && ! is_email($contact) )
$er .= 'E-mail address ('. htvar($contact) . ') may be invalid.
';
if (strpos($store_dir,$_SERVER['DOCUMENT_ROOT']) === 0)
@@ -739,7 +739,7 @@ E-mail: someone@somewhere.com &nbs