summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-12 07:49:46 +0100
committerlpsolit%gmail.com <>2007-01-12 07:49:46 +0100
commit439a070de35f114090203562571533eb3f91b78d (patch)
treec6be92b55ead973e49568a95c3f208799257d95b /importxml.pl
parentb3e13e1e515c53877bc61b59b9bed1f975fc5cba (diff)
downloadbugzilla-439a070de35f114090203562571533eb3f91b78d.tar.gz
bugzilla-439a070de35f114090203562571533eb3f91b78d.tar.xz
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 <LpSolit@gmail.com> r=myk r=ghendricks a=LpSolit
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl4
1 files changed, 2 insertions, 2 deletions
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