Commit d78d7929ed3539f400f18336619a89db96d1f122
1 parent
1aa73a3f
Exists in
master
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 | } |