Przeglądaj źródła

added $totalRegistros

Victor De la Rocha 15 lat temu
rodzic
commit
c1c3bee6a9
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      api.php

+ 1 - 1
api.php Wyświetl plik

@@ -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