From 439a070de35f114090203562571533eb3f91b78d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 12 Jan 2007 06:49:46 +0000 Subject: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- importxml.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'importxml.pl') diff --git a/importxml.pl b/importxml.pl index bd10e6540..c19f6d96f 100755 --- a/importxml.pl +++ b/importxml.pl @@ -612,10 +612,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 -- cgit v1.2.3-24-g4f1b