From: lpsolit%gmail.com <> Date: Sun, 16 Apr 2006 01:12:10 +0000 (+0000) Subject: Bug 330186: Crash when changing the status of a bug which has dependencies (new fix... X-Git-Tag: bugzilla-2.23.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11a9900ad8e9a44acdb81ab7f4ede558d07416b5;p=thirdparty%2Fbugzilla.git 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 --- 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; }