mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed PHP 5.3 compatibility on GIS maps
This commit is contained in:
parent
aab5cf1ef5
commit
9be4c52c46
@ -31,7 +31,9 @@ $confMap = gis_get_map_conf($idMap);
|
|||||||
|
|
||||||
// Default open map (used to overwrite unlicensed google map view)
|
// Default open map (used to overwrite unlicensed google map view)
|
||||||
$confMapDefault = get_good_con();
|
$confMapDefault = get_good_con();
|
||||||
$confMapUrlDefault = json_decode($confMapDefault['conection_data'], true)['url'];
|
$confMapDefaultFull = array();
|
||||||
|
$confMapDefaultUrlFull = json_decode($confMapDefault['conection_data'], true);
|
||||||
|
$confMapUrlDefault = $confMapDefaultFull['url'];
|
||||||
|
|
||||||
if (! check_acl ($config['id_user'], $map['group_id'], "MR") && ! check_acl ($config['id_user'], $map['group_id'], "MW") && ! check_acl ($config['id_user'], $map['group_id'], "MM")) {
|
if (! check_acl ($config['id_user'], $map['group_id'], "MR") && ! check_acl ($config['id_user'], $map['group_id'], "MW") && ! check_acl ($config['id_user'], $map['group_id'], "MM")) {
|
||||||
db_pandora_audit("ACL Violation", "Trying to access map builder");
|
db_pandora_audit("ACL Violation", "Trying to access map builder");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user