From 63fd1c96d6f284abff140b0527694e8f7b47ada1 Mon Sep 17 00:00:00 2001 From: Lgnap Date: Tue, 23 Apr 2013 12:04:45 +0200 Subject: [PATCH] Contact or email you should choose. Advice over use of a single code --- setup.php-presetup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 Password *
This password will be used to protect your root certificate private - key. Do not lose or forget this password. + key.
Can't contain single quote ! Do not lose or forget this password.    Again