From 262168348611f66680b9d70ff400db35fffce65c Mon Sep 17 00:00:00 2001 From: Victor De la Rocha Date: Thu, 8 Jan 2009 08:43:10 +0000 Subject: [PATCH] added $totalRegistros --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);