aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjouni%heikniemi.net <>2002-07-12 02:24:29 +0000
committerjouni%heikniemi.net <>2002-07-12 02:24:29 +0000
commitbe3da831083bd6349a5fd184f5194c5e9cce57bb (patch)
tree706a01ac9f2e73de856fd98e634f3d0b5999fef9 /createaccount.cgi
parentBug 156844 - 'use of uninitialized value in string eq' warning (diff)
downloadbugzilla-be3da831083bd6349a5fd184f5194c5e9cce57bb.tar.gz
bugzilla-be3da831083bd6349a5fd184f5194c5e9cce57bb.tar.bz2
bugzilla-be3da831083bd6349a5fd184f5194c5e9cce57bb.zip
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;