From 9417c2fb06f41835ccd17c545e62245832f73c12 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 7 Jul 2009 22:41:51 +0000 Subject: Bug 502950: Unconfirming a bug doesn't reset everconfirmed to 0 - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index dbb88be6a..38248fd39 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 { -- cgit v1.2.3-24-g4f1b