Commit a690e451cbdd36618ec55e5c4de7b3a6a26f637c
1 parent
c4040f87
Exists in
master
and in
7 other branches
Correção na verificação do metadata "escondido".
Ao definir como "NAO" o programa não estava interpretando corretamente
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
classesphp/classe_mapa.php
... | ... | @@ -157,7 +157,10 @@ string - javascript com os parametros |
157 | 157 | if ($res_count > 0){$sel = "sim";$existesel = true;} |
158 | 158 | } |
159 | 159 | } |
160 | - if ((strtoupper($oLayer->getmetadata("tema")) != "NAO") && ($oLayer->getmetadata("escondido") == "")) | |
160 | + $escondido = $oLayer->getmetadata("escondido"); | |
161 | + if($escondido == "") | |
162 | + {$escondido = "NAO";} | |
163 | + if ( (strtoupper($oLayer->getmetadata("tema")) != "NAO") && ($escondido == "NAO") ) | |
161 | 164 | { |
162 | 165 | $escala = $oLayer->getmetadata("escala"); |
163 | 166 | if ($escala == ""){$escala = 0;} | ... | ... |