From 11a9900ad8e9a44acdb81ab7f4ede558d07416b5 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 16 Apr 2006 01:12:10 +0000 Subject: [PATCH] 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 r=LpSolit a=justdave --- Bugzilla/BugMail.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 4d151cd7f2..d7be12a1a4 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; } -- 2.47.2