mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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:
parent
c0580307e7
commit
01ae4a8b54
@ -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>
|
2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* operation/agentes/alerts_status.php: fixed the style in the list of
|
* operation/agentes/alerts_status.php: fixed the style in the list of
|
||||||
|
@ -260,7 +260,13 @@ switch ($action) {
|
|||||||
|
|
||||||
$arrayLayers = array();
|
$arrayLayers = array();
|
||||||
foreach ($layer_list as $layerID) {
|
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,
|
$invalidFields = validateMapData($map_name, $map_zoom_level,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user