1
0
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:
Cameron
2016-03-29 14:55:38 -07:00
parent 1281c70714
commit 2e6fa44aa2
4 changed files with 33 additions and 33 deletions

View File

@@ -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}}") : '';