mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +02:00
Fix for SQL_CALC_FOUND_ROWS using PDO.
This commit is contained in:
@@ -239,7 +239,7 @@ elseif ($action == 'forums')
|
||||
|
||||
$vars->emptyVars();
|
||||
|
||||
$ftotal = $sqlp->totalResults();
|
||||
$ftotal = $sqlp->foundRows();
|
||||
|
||||
$parms = $ftotal.",10,".$from.",".e_REQUEST_SELF."?[FROM].forums.".$id;
|
||||
$vars->NEXTPREV = $ftotal ? $tp->parseTemplate("{NEXTPREV={$parms}}") : '';
|
||||
|
Reference in New Issue
Block a user