diff options
author | lpsolit%gmail.com <> | 2005-07-21 04:24:19 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-07-21 04:24:19 +0000 |
commit | b8a33eb39a2fb1e994f84dc013440375b9f45dcc (patch) | |
tree | d7d11e164b306f3724a762a99a9d09c98eb7afb5 /createaccount.cgi | |
parent | Bug 300743: add "px" to prevent query help tooltips appearing at wrong positi... (diff) | |
download | bugzilla-b8a33eb39a2fb1e994f84dc013440375b9f45dcc.tar.gz bugzilla-b8a33eb39a2fb1e994f84dc013440375b9f45dcc.tar.bz2 bugzilla-b8a33eb39a2fb1e994f84dc013440375b9f45dcc.zip |
Bug 301453: Move CheckEmailSyntax out of CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi index 499e200e7..d42ed76ec 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -33,6 +33,7 @@ require "CGI.pl"; use Bugzilla::Constants; use Bugzilla::User; use Bugzilla::BugMail; +use Bugzilla::Util; # Shut up misguided -w warnings about "used only once": use vars qw( @@ -63,7 +64,7 @@ my $login = $cgi->param('login'); if (defined($login)) { # We've been asked to create an account. my $realname = trim($cgi->param('realname')); - CheckEmailSyntax($login); + check_email_syntax($login); $vars->{'login'} = $login; if (!is_available_username($login)) { |