mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
2010-05-11 Sergio Martin <sergio.martin@artica.es>
* godmode/gis_maps/index.php: Fixed the change of default map for bug: 2993745 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
797890f152
commit
e03e5f434f
@ -1,3 +1,8 @@
|
|||||||
|
2010-05-11 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* godmode/gis_maps/index.php: Fixed the change
|
||||||
|
of default map for bug: 2993745
|
||||||
|
|
||||||
2010-05-11 Junichi Satoh <junichi@rworks.jp>
|
2010-05-11 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* include/help/ja/help_cascade_protection.php: Fixed a typo.
|
* include/help/ja/help_cascade_protection.php: Fixed a typo.
|
||||||
|
@ -31,6 +31,10 @@ if (is_ajax ()) {
|
|||||||
$action = get_parameter('action');
|
$action = get_parameter('action');
|
||||||
$id_map = get_parameter('id_map');
|
$id_map = get_parameter('id_map');
|
||||||
|
|
||||||
|
// Set to not default the actual default map
|
||||||
|
$returnOperationDB = process_sql_update('tgis_map', array('default_map' => 0), array('default_map' => 1));
|
||||||
|
|
||||||
|
// Set default the new default map
|
||||||
$returnOperationDB = process_sql_update('tgis_map', array('default_map' => 1), array('id_tgis_map' => $id_map));
|
$returnOperationDB = process_sql_update('tgis_map', array('default_map' => 1), array('id_tgis_map' => $id_map));
|
||||||
|
|
||||||
if ($returnOperationDB === false)
|
if ($returnOperationDB === false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user