From 9e5401e008ec44028151d6309ab4a90c633293f7 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 24 Jan 2008 18:31:20 +0000 Subject: [PATCH] correção na função de busca por atributos --- classesphp/classe_atributos.php | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/classesphp/classe_atributos.php b/classesphp/classe_atributos.php index 97e1acd..531463c 100644 --- a/classesphp/classe_atributos.php +++ b/classesphp/classe_atributos.php @@ -387,9 +387,11 @@ $onde - Tipo de abrangência espacial (brasil ou mapa) $palavra = trim($palavra); foreach ($temas as $tema) { + $registros = array(); $items = $temasi[$tema]; $l = $this->mapa->getlayerbyname($tema); + $this->layer = $l; if ($l->data == "") {return "Erro. O tema não tem tabela";} $filtro = $l->getfilter(); -- libgit2 0.21.2