Commit 4f88c088d0b3ae29ca15f8c68dc00c1ef391053c

Authored by Edmar Moretti
1 parent 68332bd3

Correção na montagem da lista de colunas visíveis na criação de mapfiles de tipo…

…s de região cadastradas
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
admin/php/classe_metaestat.php
@@ -836,7 +836,7 @@ class Metaestat{ @@ -836,7 +836,7 @@ class Metaestat{
836 $colunastabela[] = $colunastabela; 836 $colunastabela[] = $colunastabela;
837 $colunastabela = array_unique($colunastabela); 837 $colunastabela = array_unique($colunastabela);
838 } 838 }
839 - $vis = implode($colunastabela,","); 839 + $vis = implode(",",$colunastabela);
840 } 840 }
841 $sqlf = $colunageo." from (select st_setsrid(".$colunageo.",".$srid.") as $colunageo,$vis from ".$meta["esquemadb"].".".$meta["tabela"]." /*FW*//*FW*/) as foo using unique ".$meta["identificador"]." using srid=".$srid; 841 $sqlf = $colunageo." from (select st_setsrid(".$colunageo.",".$srid.") as $colunageo,$vis from ".$meta["esquemadb"].".".$meta["tabela"]." /*FW*//*FW*/) as foo using unique ".$meta["identificador"]." using srid=".$srid;
842 $sqlf = str_replace(",,",",",$sqlf); 842 $sqlf = str_replace(",,",",",$sqlf);