From 1e4582d9b21ea86f170a5eca82c7d0149fb8eabd Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Wed, 17 Oct 2018 09:59:25 -0300 Subject: [PATCH] Compatibilização da abertura de mapas salvos anteriormente com os nomes das novas interfaces --- classesphp/funcoes_gerais.php | 1 + mapas/templates/templatelista.php | 8 -------- ms_criamapa.php | 7 ++++--- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/classesphp/funcoes_gerais.php b/classesphp/funcoes_gerais.php index 5dbed83..51033aa 100755 --- a/classesphp/funcoes_gerais.php +++ b/classesphp/funcoes_gerais.php @@ -3077,6 +3077,7 @@ function restauraMapaAdmin($id_mapa, $dir_tmp) $dbh = null; $dbhw = null; $mapasalvo = $mapasalvo[0]; + //var_dump($mapasalvo);exit; $base = ""; if (! isset($mapasalvo["publicado"])) { $mapasalvo["publicado"] = ""; diff --git a/mapas/templates/templatelista.php b/mapas/templates/templatelista.php index 834d625..c16cb7d 100755 --- a/mapas/templates/templatelista.php +++ b/mapas/templates/templatelista.php @@ -4,14 +4,6 @@