From 1ae65fd5c4b14f4dcbfd201dc0c370029b3efb3b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 7 Jul 2001 18:05:13 +0000 Subject: [PATCH] use $db->limit_query insted of limit --- infolog/index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/infolog/index.php b/infolog/index.php index 731d9707d9..06e6d052fd 100644 --- a/infolog/index.php +++ b/infolog/index.php @@ -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()) { // ========================================