2010-06-08 Miguel de Dios <miguel.dedios@artica.es>

* godmode/gis_maps/configure_gis_map.php: refixed layers when to update data
	of gis map and magic quotes is on.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-06-08 11:07:03 +00:00
parent c0580307e7
commit 01ae4a8b54
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: refixed layers when to update data
of gis map and magic quotes is on.
2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php: fixed the style in the list of

View File

@ -260,7 +260,13 @@ switch ($action) {
$arrayLayers = array();
foreach ($layer_list as $layerID) {
$arrayLayers[] = JSON_decode($_POST['layer_values_' . $layerID], true);
if ($magicQuotesFlag) {
$layer = stripslashes($_POST['layer_values_' . $layerID]);
}
else {
$layer = $_POST['layer_values_' . $layerID];
}
$arrayLayers[] = JSON_decode($layer, true);
}
$invalidFields = validateMapData($map_name, $map_zoom_level,