summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-26 05:14:58 +0200
committerlpsolit%gmail.com <>2006-08-26 05:14:58 +0200
commitf86bdf887f419be90115e641047c3f24d41d167f (patch)
treef68952b928bdb0eb1dcd5a6abef6d63db430ac90 /Bugzilla
parentabef82d31e12c70f847664039a084d4898f7ec73 (diff)
downloadbugzilla-f86bdf887f419be90115e641047c3f24d41d167f.tar.gz
bugzilla-f86bdf887f419be90115e641047c3f24d41d167f.tar.xz
Bug 350120: undefined value when creating a new user account - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Token.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Token.pm b/Bugzilla/Token.pm
index 6dd8baa6e..f00e65280 100644
--- a/Bugzilla/Token.pm
+++ b/Bugzilla/Token.pm
@@ -310,7 +310,7 @@ sub _create_token {
my ($userid, $tokentype, $eventdata) = @_;
my $dbh = Bugzilla->dbh;
- detaint_natural($userid);
+ detaint_natural($userid) if defined $userid;
trick_taint($tokentype);
trick_taint($eventdata);