From: lpsolit%gmail.com <> Date: Fri, 12 Jan 2007 06:51:32 +0000 (+0000) Subject: Bug 366738: Use of uninitialized value in numeric eq (==) in ./importxml.pl if the... X-Git-Tag: bugzilla-2.22.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=200991fad99261ed2be8427a57adaed69c9b958d;p=thirdparty%2Fbugzilla.git Bug 366738: Use of uninitialized value in numeric eq (==) in ./importxml.pl if the bug is not visible to the reporter and the CC list - Patch by Frédéric Buclin r=myk r=ghendricks a=LpSolit --- diff --git a/importxml.pl b/importxml.pl index 4a7b1f75e9..2fc5ecc061 100755 --- a/importxml.pl +++ b/importxml.pl @@ -650,10 +650,10 @@ sub process_bug { # Bug Access push( @query, "cclist_accessible" ); - push( @values, $bug_fields{'cclist_accessible'} == 1 ? 1 : 0 ); + push( @values, $bug_fields{'cclist_accessible'} ? 1 : 0 ); push( @query, "reporter_accessible" ); - push( @values, $bug_fields{'reporter_accessible'} == 1 ? 1 : 0 ); + push( @values, $bug_fields{'reporter_accessible'} ? 1 : 0 ); # Product and Component if there is no valid default product and # component defined in the parameters, we wouldn't be here