aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-26 03:14:58 +0000
committerlpsolit%gmail.com <>2006-08-26 03:14:58 +0000
commitf86bdf887f419be90115e641047c3f24d41d167f (patch)
treef68952b928bdb0eb1dcd5a6abef6d63db430ac90 /Bugzilla
parentBug 338965: Add me to cc list feature is confusing - Patch by Joost de Valk <... (diff)
downloadbugzilla-f86bdf887f419be90115e641047c3f24d41d167f.tar.gz
bugzilla-f86bdf887f419be90115e641047c3f24d41d167f.tar.bz2
bugzilla-f86bdf887f419be90115e641047c3f24d41d167f.zip
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);