diff --git a/api.php b/api.php index 150e821..58da623 100644 --- a/api.php +++ b/api.php @@ -57,7 +57,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);