summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-09-15 16:26:15 +0000
committerDaouda Lo <daouda@mandriva.com>2005-09-15 16:26:15 +0000
commit0dfac7be3d89d6a418f4d3232bff515ae28df6e4 (patch)
tree659083e1e9c0bc5a7250ef78378b4e68e5a625f9
parent17f2187971a2281681e62cea984863172e88b7dc (diff)
downloadmgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar
mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar.gz
mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar.bz2
mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar.xz
mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.zip
- Check empty fields
-rwxr-xr-xmdkonline2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkonline b/mdkonline
index ae17269c..d49f7676 100755
--- a/mdkonline
+++ b/mdkonline
@@ -161,7 +161,7 @@ $wiz = {
$gr = find_index { /$gr/ } @greets;
$alias = $firstname . $lastname;
@info = ($account, $npassword, $firstname, $lastname, $lang, $greeting, $alias, 'home');
- $createaccount = $npassword ne $cfmpassword ? N("The passwords do not match\n Please try again\n") : ($account || $firstname || $lastname) ? N("Please fill in each field") : mdkonline::check_valid_email($email) == 0 ? N("Not a valid mail address!\n") : mdkonline::create_authenticate_account('create', @info);
+ $createaccount = $npassword ne $cfmpassword ? N("The passwords do not match\n Please try again\n") : (!$account || !$firstname || !$lastname) ? N("Please fill in each field") : mdkonline::check_valid_email($email) == 0 ? N("Not a valid mail address!\n") : mdkonline::create_authenticate_account('create', @info);
"createaccount";
}
},