Commit 856b0c4ab6d7aa8d6cce47b6fa7cb65e44d7cac6
1 parent
da6357f0
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
admin/php/mapas.php
| ... | ... | @@ -171,7 +171,7 @@ function alterarMapa() |
| 171 | 171 | else |
| 172 | 172 | { |
| 173 | 173 | $idtemp = (rand (9000,10000)) * -1; |
| 174 | - $dbhw->query("INSERT INTO ".$esquemaadmin."i3geoadmin_mapas (publicado_mapa,ordem_mapa,perfil_mapa,desc_mapa,ext_mapa,imagem_mapa,linkdireto_mapa,outros_mapa,temas_mapa,ligados_mapa,nome_mapa) VALUES ('','','','','','','','','','','$id_temp')"); | |
| 174 | + $dbhw->query("INSERT INTO ".$esquemaadmin."i3geoadmin_mapas (publicado_mapa,ordem_mapa,perfil_mapa,desc_mapa,ext_mapa,imagem_mapa,linkdireto_mapa,outros_mapa,temas_mapa,ligados_mapa,nome_mapa) VALUES ('',0,'','','','','','','','','$id_temp')"); | |
| 175 | 175 | $id = $dbh->query("SELECT * FROM ".$esquemaadmin."i3geoadmin_mapas WHERE nome_mapa = '$id_temp'"); |
| 176 | 176 | $id = $id->fetchAll(); |
| 177 | 177 | $id = $id[0]['id_mapa']; | ... | ... |