Commit f3ab4da80ec77174b542e3ab55fe94fda7ca14d9

Authored by Edmar Moretti
1 parent ce785416
Exists in master

Inclusão de wms_version default como 1.1.1 quando for enviado como vazio

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
classesphp/classe_mapa.php
... ... @@ -1568,7 +1568,9 @@ class Mapa
1568 1568 */
1569 1569 function adicionatemawms($tema,$servico,$nome,$proj,$formato,$locaplic,$tipo="",$versao,$nomecamada,$dir_tmp,$imgdir,$imgurl,$tiporep,$suportasld,$formatosinfo="text/plain",$time="",$tile=0)
1570 1570 {
1571   - //echo $tile;exit;
  1571 + if($versao == ""){
  1572 + $versao = "1.1.1";
  1573 + }
1572 1574 if(file_exists($this->locaplic."/classesphp/wmswfs.php"))
1573 1575 include_once($this->locaplic."/classesphp/wmswfs.php");
1574 1576 else
... ...