diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 247d3f3d96..92938d0f2c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-05-11 Sergio Martin + + * godmode/setup/gis_step_2.php: Fixed the creation + of connection map in GIS maps for bug 3000031 + 2010-05-11 Raúl Mateos * godmode/reporting/map_builder.php: Fixed a typo. diff --git a/pandora_console/godmode/setup/gis_step_2.php b/pandora_console/godmode/setup/gis_step_2.php index 0753091c3f..11e5ce7be4 100755 --- a/pandora_console/godmode/setup/gis_step_2.php +++ b/pandora_console/godmode/setup/gis_step_2.php @@ -126,7 +126,7 @@ switch ($action) { } //TODO VALIDATE PARAMETERS - if ($mapConnection_name != "" && $mapConnection_type != 0) { + if ($mapConnection_name != "" && $mapConnection_type != ""){ saveMapConnection($mapConnection_name, $mapConnection_group, $mapConnection_numLevelsZoom, $mapConnection_defaultZoom, $mapConnection_defaultLatitude, $mapConnection_defaultLongitude, @@ -134,11 +134,10 @@ switch ($action) { $mapConnection_centerLongitude, $mapConnection_centerAltitude, $mapConnectionData, $idConnectionMap); } - + require_once('gis.php'); return; - break; -} + } $table->width = '90%';