patch by jeff.hedlund@matrixsi.com
2xr=gerv
sub ChangeStatus {
my ($str) = (@_);
- if ($str ne $::FORM{'dontchange'}) {
+ if (!$::FORM{'dontchange'} ||
+ ($str ne $::FORM{'dontchange'})) {
DoComma();
if ($::FORM{knob} eq 'reopen') {
# When reopening, we need to check whether the bug was ever
sub ChangeResolution {
my ($str) = (@_);
- if ($str ne $::FORM{'dontchange'}) {
+ if (!$::FORM{'dontchange'} ||
+ ($str ne $::FORM{'dontchange'})) {
DoComma();
$::query .= "resolution = " . SqlQuote($str);
}