summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index e20fb5f61..2b76a211a 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -37,6 +37,7 @@ use Bugzilla::User;
use Bugzilla::Constants;
use Bugzilla::Config qw(:DEFAULT $datadir);
use Bugzilla::Util;
+use Bugzilla::Bug;
use Date::Parse;
use Date::Format;
@@ -309,7 +310,7 @@ sub ProcessOneBug {
$interestingchange = 0;
}
$thisdiff .= FormatTriple($fielddescription{$what}, $old, $new);
- if ($what eq 'bug_status' && &::IsOpenedState($old) ne &::IsOpenedState($new)) {
+ if ($what eq 'bug_status' && is_open_state($old) ne is_open_state($new)) {
$interestingchange = 1;
}