瀏覽代碼

added $totalRegistros

Victor De la Rocha 15 年之前
父節點
當前提交
c1c3bee6a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api.php

+ 1 - 1
api.php 查看文件

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