diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-09-15 16:26:15 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-09-15 16:26:15 +0000 |
commit | 0dfac7be3d89d6a418f4d3232bff515ae28df6e4 (patch) | |
tree | 659083e1e9c0bc5a7250ef78378b4e68e5a625f9 /mdkonline | |
parent | 17f2187971a2281681e62cea984863172e88b7dc (diff) | |
download | mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar.gz mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar.bz2 mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.tar.xz mgaonline-0dfac7be3d89d6a418f4d3232bff515ae28df6e4.zip |
- Check empty fields
Diffstat (limited to 'mdkonline')
-rwxr-xr-x | mdkonline | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; } }, |