added $totalRegistros
parent
67e1a2cd5f
commit
2621683486
2
api.php
2
api.php
|
|
@ -58,7 +58,7 @@ if(!defined('entry')) define('entry',true);
|
||||||
$totalRegistros = $db->contarRegistros();
|
$totalRegistros = $db->contarRegistros();
|
||||||
$theme->set("totalRegistros",$totalRegistros);
|
$theme->set("totalRegistros",$totalRegistros);
|
||||||
|
|
||||||
if ($db->contarRegistros()>0) {
|
if ($totalRegistros>0) {
|
||||||
$theme->set("start",$start);
|
$theme->set("start",$start);
|
||||||
$theme->set("total",$total);
|
$theme->set("total",$total);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue