summaryrefslogtreecommitdiffstats
path: root/createaccount.cgi
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2002-07-12 04:24:29 +0200
committerjouni%heikniemi.net <>2002-07-12 04:24:29 +0200
commitbe3da831083bd6349a5fd184f5194c5e9cce57bb (patch)
tree706a01ac9f2e73de856fd98e634f3d0b5999fef9 /createaccount.cgi
parentbcf9625d073867b46db5eaa83f8d2a1f395cbe65 (diff)
downloadbugzilla-be3da831083bd6349a5fd184f5194c5e9cce57bb.tar.gz
bugzilla-be3da831083bd6349a5fd184f5194c5e9cce57bb.tar.xz
Bug 156680: "Undefined variable warning" in createaccount.cgi
2xr=bbaetz
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi
index 577ab8dba..8a5b85782 100755
--- a/createaccount.cgi
+++ b/createaccount.cgi
@@ -61,10 +61,10 @@ Set-Cookie: Bugzilla_logincookie= ; path=$cookiepath; expires=Sun, 30-Jun-80 00:
print "Content-Type: text/html\n\n";
my $login = $::FORM{'login'};
-my $realname = trim($::FORM{'realname'});
if (defined($login)) {
# We've been asked to create an account.
+ my $realname = trim($::FORM{'realname'});
CheckEmailSyntax($login);
trick_taint($login);
$vars->{'login'} = $login;