diff options
author | 2007-01-12 06:49:46 +0000 | |
---|---|---|
committer | 2007-01-12 06:49:46 +0000 | |
commit | 439a070de35f114090203562571533eb3f91b78d (patch) | |
tree | c6be92b55ead973e49568a95c3f208799257d95b /importxml.pl | |
parent | Bug 366624: testserver.pl fails to find the GID for the httpd process - Patch... (diff) | |
download | bugzilla-439a070de35f114090203562571533eb3f91b78d.tar.gz bugzilla-439a070de35f114090203562571533eb3f91b78d.tar.bz2 bugzilla-439a070de35f114090203562571533eb3f91b78d.zip |
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-x | importxml.pl | 4 |
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 |