summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index fa1e40131..d887677b0 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -1171,8 +1171,8 @@ sub _convert_special_params_to_chart_params {
my $and = 0;
foreach my $or_array (@special_charts) {
my $or = 0;
- my $identifier = "$chart-$and-$or";
while (@$or_array) {
+ my $identifier = "$chart-$and-$or";
$params->{"field$identifier"} = shift @$or_array;
$params->{"type$identifier"} = shift @$or_array;
$params->{"value$identifier"} = shift @$or_array;