diff options
author | mkanat%kerio.com <> | 2005-02-19 01:14:26 +0100 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-02-19 01:14:26 +0100 |
commit | b9402d3e113b408143c7ad18f1cb798023c7d178 (patch) | |
tree | ead35cce72a5f7be7fa8660561159eca2174185d /process_bug.cgi | |
parent | 62eecf24480520e204ab0057f8f7845c13f37c13 (diff) | |
download | bugzilla-b9402d3e113b408143c7ad18f1cb798023c7d178.tar.gz bugzilla-b9402d3e113b408143c7ad18f1cb798023c7d178.tar.xz |
Bug 280497: Replace "LIMIT" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat,a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index abbad43f9..b742062dd 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -696,7 +696,7 @@ if ($::FORM{'product'} ne $::FORM{'dontchange'}) { $::query .= "product_id = $prod_id"; } else { SendSQL("SELECT DISTINCT product_id FROM bugs WHERE bug_id IN (" . - join(',', @idlist) . ") LIMIT 2"); + join(',', @idlist) . ") " . $dbh->sql_limit(2)); $prod_id = FetchOneColumn(); $prod_id = undef if (FetchOneColumn()); } |