From d016173598fab9ca70404a7dc2ac57a95fe83498 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Fri, 25 Aug 2006 20:14:58 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20350120:=20undefined=20value=20when=20crea?= =?UTF-8?q?ting=20a=20new=20user=20account=20-=20Patch=20by=20Fr=C3=A9d?= =?UTF-8?q?=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@208453 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Token.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Token.pm b/mozilla/webtools/bugzilla/Bugzilla/Token.pm index 6dd8baa6ea5..f00e6528082 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Token.pm +++ b/mozilla/webtools/bugzilla/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);