mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Deprecated function cleanup
This commit is contained in:
@@ -1511,7 +1511,7 @@ if(isset($page_title[$action]))
|
||||
}
|
||||
|
||||
$num_entry = 0;
|
||||
if($sql->db_Select_gen($qry.$limit_clause))
|
||||
if($sql->gen($qry.$limit_clause))
|
||||
{
|
||||
$num_entry = $sql->total_results;
|
||||
}
|
||||
@@ -1519,7 +1519,7 @@ if(isset($page_title[$action]))
|
||||
{
|
||||
$from = 0; // We may be on a later page
|
||||
$limit_clause = " LIMIT {$from}, {$amount} ";
|
||||
$sql->db_Select_gen($qry.$limit_clause); // Re-run query with new value of $from
|
||||
$sql->gen($qry.$limit_clause); // Re-run query with new value of $from
|
||||
$num_entry = $sql->total_results;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user