зеркало из https://github.com/mozilla/pjs.git
Bug 350120: undefined value when creating a new user account - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=mkanat a=myk
This commit is contained in:
Родитель
898f22e022
Коммит
e4d231e2ae
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче