Commit 73ea14579ab4a2d31f35a98a1d97fde13fcc1901

Authored by Edmar Moretti
1 parent 1ad148fa

correção na função de redesenho do mapa. A opção de desenho via cgi não estava sendo respeitada

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
classesphp/mapa_controle.php
... ... @@ -2576,7 +2576,7 @@ Include:
2576 2576 function redesenhaMapa()
2577 2577 {
2578 2578 global $tempo,$map_file,$locsistemas,$locidentifica,$tipoimagem,$cp,$postgis_mapa,$utilizacgi,$locmapserv;
2579   - if($tipoimagem != "nenhum")
  2579 + if($tipoimagem != "nenhum" && $tipoimagem != "")
2580 2580 {$utilizacgi = "nao";}
2581 2581 if (connection_aborted()){exit();}
2582 2582 include_once("classe_mapa.php");
... ...