Commit f86bdf88 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 350120: undefined value when creating a new user account - Patch by Frédéric…

Bug 350120: undefined value when creating a new user account - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
parent abef82d3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment