summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index f6da2af61..7126d5d8b 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -258,7 +258,8 @@ foreach my $field_name (@set_fields) {
}
if (should_set('keywords')) {
- my $action = $cgi->param('keywordaction');
+ my $action = $cgi->param('keywordaction') || '';
+ # Backward-compatibility for Bugzilla 3.x and older.
$action = 'remove' if $action eq 'delete';
$action = 'set' if $action eq 'makeexact';
$set_all_fields{keywords}->{$action} = $cgi->param('keywords');