From 5dfaa712feac6bb3f2fb11bf49c410e34c0252e3 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 26 May 2014 16:29:58 +0400 Subject: [PATCH] Fix removing multiple CCs --- process_bug.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process_bug.cgi b/process_bug.cgi index 98e0cd5c3..b4b868a14 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -494,9 +494,9 @@ if ($ARGS->{newcc} || $ARGS->{addselfcc} || $ARGS->{removecc} || $ARGS->{masscc} $cc_add = $ARGS->{newcc}; # We came from bug_form which uses a select box to determine what cc's # need to be removed... - if (defined $ARGS->{removecc} && $ARGS->{cc}) + if (defined $ARGS->{removecc} && $ARGS->{cc}) # FIXME array[] { - $cc_remove = $ARGS->{cc}; + $cc_remove = ref $ARGS->{cc} ? join(', ', @{$ARGS->{cc}}) : $ARGS->{cc}; } }