mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Merge branch 'cherry-pick-1cf87e77' into 'pandora_6.0'
Fixed PHP 5.3 compatibility on GIS maps See merge request !226
This commit is contained in:
commit
00ce6b041e
@ -31,7 +31,9 @@ $confMap = gis_get_map_conf($idMap);
|
||||
|
||||
// Default open map (used to overwrite unlicensed google map view)
|
||||
$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")) {
|
||||
db_pandora_audit("ACL Violation", "Trying to access map builder");
|
||||
|
Loading…
x
Reference in New Issue
Block a user