Bug 350120: undefined value when creating a new user account - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@208453 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user