Commit 9e5401e008ec44028151d6309ab4a90c633293f7

Authored by Edmar Moretti
1 parent 195d841d

correção na função de busca por atributos

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
classesphp/classe_atributos.php
... ... @@ -387,9 +387,11 @@ $onde - Tipo de abrangência espacial (brasil ou mapa)
387 387 $palavra = trim($palavra);
388 388 foreach ($temas as $tema)
389 389 {
  390 +
390 391 $registros = array();
391 392 $items = $temasi[$tema];
392 393 $l = $this->mapa->getlayerbyname($tema);
  394 + $this->layer = $l;
393 395 if ($l->data == "")
394 396 {return "Erro. O tema não tem tabela";}
395 397 $filtro = $l->getfilter();
... ...