Commit 38bda766b753b6bb8ed6b8f00f89a229b56a3b60
1 parent
989f5ac6
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
classesphp/classe_temas.php
@@ -122,7 +122,7 @@ $ext - (opcional) extensão geográfica que será aplicada ao mapa | @@ -122,7 +122,7 @@ $ext - (opcional) extensão geográfica que será aplicada ao mapa | ||
122 | { | 122 | { |
123 | $this->mapa = ms_newMapObj($map_file); | 123 | $this->mapa = ms_newMapObj($map_file); |
124 | $this->arquivo = $map_file; | 124 | $this->arquivo = $map_file; |
125 | - if($tema != "" && @$this->mapa->getlayerbyname($tema)) | 125 | + if($tema != "") |
126 | { | 126 | { |
127 | $listaTemas = str_replace(" ",",",$tema); | 127 | $listaTemas = str_replace(" ",",",$tema); |
128 | $listaTemas = explode(",",$tema); | 128 | $listaTemas = explode(",",$tema); |