use $db->limit_query insted of limit

This commit is contained in:
Ralf Becker 2001-07-07 18:05:13 +00:00
parent 899d2a59e5
commit 1ae65fd5c4

View File

@ -146,9 +146,7 @@
// ---------- end nextmatch template --------------------
$limit = $db->limit($start);
$db->query($q="SELECT * FROM phpgw_infolog WHERE $filtermethod $pid $sql_query $ordermethod $limit",__LINE__,__FILE__);
$db->limit_query($q="SELECT * FROM phpgw_infolog WHERE $filtermethod $pid $sql_query $ordermethod",$start,__LINE__,__FILE__);
while ($db->next_record()) {
// ========================================