Commit 91fd740a7b47da39084f5c167b3945feaf0e663d
1 parent
a6034bfe
Exists in
master
and in
7 other branches
$1
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
admin/admin.db
No preview for this file type
ferramentas/metaestat/analise.php
| @@ -692,10 +692,10 @@ function juntaMedidasVariaveis($map_file,$layerNames,$nome,$colunascalc,$formula | @@ -692,10 +692,10 @@ function juntaMedidasVariaveis($map_file,$layerNames,$nome,$colunascalc,$formula | ||
| 692 | $colunasDados = array(); | 692 | $colunasDados = array(); |
| 693 | $itens = array($gid,"regiao"); | 693 | $itens = array($gid,"regiao"); |
| 694 | $itensdesc = array("gid","Regiao"); | 694 | $itensdesc = array("gid","Regiao"); |
| 695 | - $tabelaColuna = []; | 695 | + $tabelaColuna = array(); |
| 696 | for($i=0;$i<$n;$i++){ | 696 | for($i=0;$i<$n;$i++){ |
| 697 | $colunasDados[] = "tabela".$i.".".$colunasValor[$i]." as valortema".$i; | 697 | $colunasDados[] = "tabela".$i.".".$colunasValor[$i]." as valortema".$i; |
| 698 | - $tabelaColuna[valortema.$i] = "tabela".$i.".".$colunasValor[$i]; | 698 | + $tabelaColuna["valortema".$i] = "tabela".$i.".".$colunasValor[$i]; |
| 699 | $itens[] = "valortema".$i; | 699 | $itens[] = "valortema".$i; |
| 700 | $itensdesc[] = $nomesLayers[$i]; | 700 | $itensdesc[] = $nomesLayers[$i]; |
| 701 | } | 701 | } |