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

git-svn-id: svn://10.0.0.236/trunk@194466 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2006-04-15 18:12:10 +00:00
parent 7672c8b836
commit 44ec9d5ee2

View File

@@ -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;
}