mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
use $db->limit_query insted of limit
This commit is contained in:
parent
899d2a59e5
commit
1ae65fd5c4
@ -146,9 +146,7 @@
|
|||||||
|
|
||||||
// ---------- end nextmatch template --------------------
|
// ---------- end nextmatch template --------------------
|
||||||
|
|
||||||
$limit = $db->limit($start);
|
$db->limit_query($q="SELECT * FROM phpgw_infolog WHERE $filtermethod $pid $sql_query $ordermethod",$start,__LINE__,__FILE__);
|
||||||
|
|
||||||
$db->query($q="SELECT * FROM phpgw_infolog WHERE $filtermethod $pid $sql_query $ordermethod $limit",__LINE__,__FILE__);
|
|
||||||
|
|
||||||
while ($db->next_record()) {
|
while ($db->next_record()) {
|
||||||
// ========================================
|
// ========================================
|
||||||
|
Loading…
Reference in New Issue
Block a user