From: lpsolit%gmail.com <> Date: Tue, 7 Jul 2009 22:43:54 +0000 (+0000) Subject: Bug 502950: Unconfirming a bug doesn't reset everconfirmed to 0 - Patch by FrédÃ... X-Git-Tag: bugzilla-3.4rc1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54fff839a5af4ca09a3ac558ff7271afac9eeb9c;p=thirdparty%2Fbugzilla.git Bug 502950: Unconfirming a bug doesn't reset everconfirmed to 0 - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index dbb88be6a1..38248fd396 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -2143,7 +2143,7 @@ sub set_status { if ($new_status->is_open) { # Check for the everconfirmed transition - $self->_set_everconfirmed(1) if $new_status->name ne 'UNCONFIRMED'; + $self->_set_everconfirmed($new_status->name eq 'UNCONFIRMED' ? 0 : 1); $self->clear_resolution(); } else {