summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-07-08 00:41:51 +0200
committerlpsolit%gmail.com <>2009-07-08 00:41:51 +0200
commit9417c2fb06f41835ccd17c545e62245832f73c12 (patch)
tree27ca6f4076210c7bd916b068a4327fdaafdad2f7 /Bugzilla
parent86af4d84ad316ea48c8db1104366e6d68df93290 (diff)
downloadbugzilla-9417c2fb06f41835ccd17c545e62245832f73c12.tar.gz
bugzilla-9417c2fb06f41835ccd17c545e62245832f73c12.tar.xz
Bug 502950: Unconfirming a bug doesn't reset everconfirmed to 0 - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
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 {