From 31662211c3de8623db8292cd8c8ba6cbfec1e90b Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Tue, 3 Nov 2015 17:44:27 +0000 Subject: [PATCH] Adaptações para versão 7 do Mapserver --- classesphp/mapa_inicia.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classesphp/mapa_inicia.php b/classesphp/mapa_inicia.php index a6ed680..51723da 100644 --- a/classesphp/mapa_inicia.php +++ b/classesphp/mapa_inicia.php @@ -286,7 +286,7 @@ function iniciaMapa() $copyright = ""; $lc = $m->mapa->getlayerbyname("copyright"); if($lc != "" && $lc->status == MS_DEFAULT ){ - if($versao["principal"] > 6){ + if($versao["principal"] >= 6){ $shape = $lc->getShape(new resultObj(0)); $copyright = $shape->text; } -- libgit2 0.21.2