浏览代码

added $totalRegistros

Victor De la Rocha 15 年前
父节点
当前提交
2621683486
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api.php

+ 1 - 1
api.php 查看文件

58
 		$totalRegistros = $db->contarRegistros();
58
 		$totalRegistros = $db->contarRegistros();
59
 		$theme->set("totalRegistros",$totalRegistros);
59
 		$theme->set("totalRegistros",$totalRegistros);
60
 
60
 
61
-		if ($db->contarRegistros()>0) {
61
+		if ($totalRegistros>0) {
62
 			$theme->set("start",$start);
62
 			$theme->set("start",$start);
63
 			$theme->set("total",$total);
63
 			$theme->set("total",$total);
64
 
64