From 46eb93dd78ed07e9de69468627d5ce81720ac57c Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Wed, 30 Nov 2011 21:43:45 +0000 Subject: [PATCH] --- ogc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ogc.php b/ogc.php index 16f75fd..fe6081a 100644 --- a/ogc.php +++ b/ogc.php @@ -98,7 +98,7 @@ $urli3geo = str_replace("/ogc.php","",$protocolo.$_SERVER["PHP_SELF"]); // //imprime na tela a ajuda // -if (isset($ajuda)) +if(isset($ajuda)) { ogc_imprimeAjuda(); exit; @@ -106,7 +106,7 @@ if (isset($ajuda)) // //imprime na tela a lista de temas disponíveis // -if($lista == "temas") +if(isset($lista) && $lista == "temas") { ogc_imprimeListaDeTemas(); exit; @@ -142,7 +142,6 @@ if(count($_GET) == 0){ $req->setParameter("SERVICE", "WMS"); $cache = false; } - if(isset($tema) && $tipo != "metadados") {$tipo = "";} if(!isset($version)) -- libgit2 0.21.2