Przeglądaj źródła

added $totalRegistros

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

+ 1 - 1
api.php Wyświetl plik

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