netowners can set gps coords in building
This commit is contained in:
@@ -215,9 +215,12 @@ class BuildingController extends mfBaseController {
|
||||
|
||||
$data['edit_by'] = 1;
|
||||
|
||||
if($this->me->is("Admin")) {
|
||||
if($this->me->is(["Admin", "netowner"])) {
|
||||
if($r->gps_lat) $data['gps_lat'] = trim($r->gps_lat);
|
||||
if($r->gps_long) $data['gps_long'] = trim($r->gps_long);
|
||||
}
|
||||
|
||||
if($this->me->is("Admin")) {
|
||||
if($r->code) $data['code'] = trim($r->code);
|
||||
if($r->laea) $data['laea'] = trim($r->laea);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user