From 44ec9d5ee22fcf6af206aff944be0ff55dbef605 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Sat, 15 Apr 2006 18: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 git-svn-id: svn://10.0.0.236/trunk@194466 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/BugMail.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm b/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm index 4d151cd7f23..d7be12a1a43 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/BugMail.pm +++ b/mozilla/webtools/bugzilla/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; }