Index: active_campus_explorer/functions/data_access/location_data_access_fn.php =================================================================== --- active_campus_explorer/functions/data_access/location_data_access_fn.php (revision 4467) +++ active_campus_explorer/functions/data_access/location_data_access_fn.php (working copy) @@ -311,7 +311,7 @@ * @param mode True or false. */ function daSetGeolocation($mode) { - $id = $GLOBALS['id']; + $id = daGetId(); dbSetGeolocationById($id, $mode); } @@ -322,7 +322,7 @@ * @return bool True or false if it is or isn't. */ function daGetGeolocation() { - $id = $GLOBALS['id']; + $id = daGetId(); return dbGetGeolocationById($id); } @@ -728,7 +728,7 @@ function daGetCorrectionsInArea($layerArea = null) { $corrections=array(); - $id=$GLOBALS["id"]; + $id=daGetId(); if(!isset($layerArea)) $layerArea = mapGetViewArea(); $corrections=dbGetCorrectionsInArea($id, $layerArea);