From: jocuri%softhome.net <> Date: Sat, 20 Nov 2004 20:28:24 +0000 (+0000) Subject: Patch for bug 267560: CheckCanChangeField in process_bug.cgi shouldn't request the... X-Git-Tag: bugzilla-2.16.8~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb73a77e83ee70b1cdf2dfcfb76670d72e8229e4;p=thirdparty%2Fbugzilla.git Patch for bug 267560: CheckCanChangeField in process_bug.cgi shouldn't request the bug owner, QA contact and reporter too many times; patch by Frédéric Buclin , r=justdave, a=justdave. --- diff --git a/process_bug.cgi b/process_bug.cgi index 40eb0fc8c2..e43db35f3e 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -277,6 +277,7 @@ sub CheckCanChangeField { SendSQL("SELECT reporter, assigned_to, qa_contact FROM bugs " . "WHERE bug_id = $bugid"); ($reporterid, $ownerid, $qacontactid) = (FetchSQLData()); + $lastbugid = $bugid; } # Let reporter change bug status, even if they can't edit bugs. # If reporter can't re-open their bug they will just file a duplicate.