diff --git a/ferramentas/metaestat/analise.php b/ferramentas/metaestat/analise.php index d200740..2e1a9c1 100644 --- a/ferramentas/metaestat/analise.php +++ b/ferramentas/metaestat/analise.php @@ -721,8 +721,10 @@ function juntaMedidasVariaveis($map_file,$layerNames,$nome,$colunascalc,$formula $n = count($sqls); $cwhere = array(); + //$colunasWhere = array(); for($i=1;$i<$n;$i++){ - $cwhere[] = "tabela0.".$colunasIdentificador[0]."::text = "."tabela".$i.".".$colunasIdentificador[$i]."::text"; + $cwhere[] = "tabela0.".$gid."::text = "."tabela".$i.".".$gid."::text"; + //$colunasWhere[] = } $colunasDados = array(); $itens = array($gid,"regiao"); -- libgit2 0.21.2