From b6b9e3b12e74132230169ce1fc696fe79f55dea1 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Fri, 7 Dec 2007 13:42:47 +0000 Subject: [PATCH] --- classesphp/funcoes_gerais.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classesphp/funcoes_gerais.php b/classesphp/funcoes_gerais.php index 49fa777..493d8c6 100644 --- a/classesphp/funcoes_gerais.php +++ b/classesphp/funcoes_gerais.php @@ -721,10 +721,10 @@ function retornaReferenciaDinamica() //adiciona o tema com o web service com o mapa mundi // $objMapa = ms_newMapObj($map_file); - $numlayers = $objMap->numlayers; + $numlayers = $objMapa->numlayers; for ($i=0;$i < $numlayers;$i++) { - $layer = $objMap->getlayer($i); + $layer = $objMapa->getlayer($i); $layer->set("status",MS_OFF); } $maptemp = ms_newMapObj($locaplic."/aplicmap/referenciadinamica.map"); -- libgit2 0.21.2