}
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');
%]
<select name="keywordaction">
<option value="add">Add these keywords</option>
- <option value="delete">Delete these keywords</option>
- <option value="makeexact">Make the keywords be exactly this list</option>
+ <option value="remove">Delete these keywords</option>
+ <option value="set">Make the keywords be exactly this list</option>
</select>
</td>