From: jocuri%softhome.net <> Date: Sat, 20 Nov 2004 20:30:24 +0000 (+0000) Subject: Patch for bug 267560: CheckCanChangeField in process_bug.cgi shouldn't request the... X-Git-Tag: bugzilla-2.18~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=accd029ef784cabbd5b516cbfa4e9b56b97baf4f;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 55e60db668..c341dea7ea 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -443,6 +443,7 @@ sub CheckCanChangeField { SendSQL("SELECT reporter, assigned_to, qa_contact FROM bugs WHERE bug_id = $bugid"); ($reporterid, $ownerid, $qacontactid) = (FetchSQLData()); + $lastbugid = $bugid; } # END DO_NOT_CHANGE