summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-04-16 03:12:10 +0200
committerlpsolit%gmail.com <>2006-04-16 03:12:10 +0200
commit11a9900ad8e9a44acdb81ab7f4ede558d07416b5 (patch)
tree90feaaf585ef630d9c013bd1e9ae3242ce174e51
parente1dc3f11aebfc273f79533af5a8108d4bfd85666 (diff)
downloadbugzilla-11a9900ad8e9a44acdb81ab7f4ede558d07416b5.tar.gz
bugzilla-11a9900ad8e9a44acdb81ab7f4ede558d07416b5.tar.xz
Bug 330186: Crash when changing the status of a bug which has dependencies (new fix. Now sanitycheck.cgi should work again too) - Patch by Teemu Mannermaa <wicked+bz@etlicon.fi> r=LpSolit a=justdave
-rw-r--r--Bugzilla/BugMail.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 4d151cd7f..d7be12a1a 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -316,7 +316,9 @@ sub ProcessOneBug {
$interestingchange = 0;
}
$thisdiff .= FormatTriple($fielddescription{$what}, $old, $new);
- if ($what eq 'bug_status' && &::is_open_state($old) ne &::is_open_state($new)) {
+ if ($what eq 'bug_status'
+ && Bugzilla::Bug::is_open_state($old) ne Bugzilla::Bug::is_open_state($new))
+ {
$interestingchange = 1;
}