Commit 46eb93dd78ed07e9de69468627d5ce81720ac57c
1 parent
489f364d
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
ogc.php
@@ -98,7 +98,7 @@ $urli3geo = str_replace("/ogc.php","",$protocolo.$_SERVER["PHP_SELF"]); | @@ -98,7 +98,7 @@ $urli3geo = str_replace("/ogc.php","",$protocolo.$_SERVER["PHP_SELF"]); | ||
98 | // | 98 | // |
99 | //imprime na tela a ajuda | 99 | //imprime na tela a ajuda |
100 | // | 100 | // |
101 | -if (isset($ajuda)) | 101 | +if(isset($ajuda)) |
102 | { | 102 | { |
103 | ogc_imprimeAjuda(); | 103 | ogc_imprimeAjuda(); |
104 | exit; | 104 | exit; |
@@ -106,7 +106,7 @@ if (isset($ajuda)) | @@ -106,7 +106,7 @@ if (isset($ajuda)) | ||
106 | // | 106 | // |
107 | //imprime na tela a lista de temas disponíveis | 107 | //imprime na tela a lista de temas disponíveis |
108 | // | 108 | // |
109 | -if($lista == "temas") | 109 | +if(isset($lista) && $lista == "temas") |
110 | { | 110 | { |
111 | ogc_imprimeListaDeTemas(); | 111 | ogc_imprimeListaDeTemas(); |
112 | exit; | 112 | exit; |
@@ -142,7 +142,6 @@ if(count($_GET) == 0){ | @@ -142,7 +142,6 @@ if(count($_GET) == 0){ | ||
142 | $req->setParameter("SERVICE", "WMS"); | 142 | $req->setParameter("SERVICE", "WMS"); |
143 | $cache = false; | 143 | $cache = false; |
144 | } | 144 | } |
145 | - | ||
146 | if(isset($tema) && $tipo != "metadados") | 145 | if(isset($tema) && $tipo != "metadados") |
147 | {$tipo = "";} | 146 | {$tipo = "";} |
148 | if(!isset($version)) | 147 | if(!isset($version)) |