소스 검색

added $totalRegistros

Victor De la Rocha 15 년 전
부모
커밋
c1c3bee6a9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api.php

+ 1 - 1
api.php 파일 보기

@@ -57,7 +57,7 @@ if(!defined('entry')) define('entry',true);
57 57
 		$totalRegistros = $db->contarRegistros();
58 58
 		$theme->set("totalRegistros",$totalRegistros);
59 59
 
60
-		if ($db->contarRegistros()>0) {
60
+		if ($totalRegistros()>0) {
61 61
 			$theme->set("start",$start);
62 62
 			$theme->set("total",$total);
63 63