diff --git a/api.php b/api.php index 49b5cd1..9e93c3e 100644 --- a/api.php +++ b/api.php @@ -58,7 +58,7 @@ if(!defined('entry')) define('entry',true); $totalRegistros = $db->contarRegistros(); $theme->set("totalRegistros",$totalRegistros); - if ($db->contarRegistros()>0) { + if ($totalRegistros>0) { $theme->set("start",$start); $theme->set("total",$total);