Victor De la Rocha пре 17 година
родитељ
комит
4056b676eb
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 ($totalRegistros()>0) {
60
+		if ($db->contarRegistros()>0) {
61
 			$theme->set("start",$start);
61
 			$theme->set("start",$start);
62
 			$theme->set("total",$total);
62
 			$theme->set("total",$total);
63
 
63