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:
lpsolit%gmail.com
2006-08-25 20:14:58 +00:00
parent 2aae79483b
commit d016173598

View File

@@ -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);