Commit 31662211c3de8623db8292cd8c8ba6cbfec1e90b
1 parent
19184438
Exists in
master
and in
7 other branches
Adaptações para versão 7 do Mapserver
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
classesphp/mapa_inicia.php
@@ -286,7 +286,7 @@ function iniciaMapa() | @@ -286,7 +286,7 @@ function iniciaMapa() | ||
286 | $copyright = ""; | 286 | $copyright = ""; |
287 | $lc = $m->mapa->getlayerbyname("copyright"); | 287 | $lc = $m->mapa->getlayerbyname("copyright"); |
288 | if($lc != "" && $lc->status == MS_DEFAULT ){ | 288 | if($lc != "" && $lc->status == MS_DEFAULT ){ |
289 | - if($versao["principal"] > 6){ | 289 | + if($versao["principal"] >= 6){ |
290 | $shape = $lc->getShape(new resultObj(0)); | 290 | $shape = $lc->getShape(new resultObj(0)); |
291 | $copyright = $shape->text; | 291 | $copyright = $shape->text; |
292 | } | 292 | } |