Fixed saving edit_by in some Controllers
This commit is contained in:
@@ -216,8 +216,6 @@ class BuildingController extends mfBaseController {
|
||||
$data['description'] = trim($r->description);
|
||||
$data['note'] = trim($r->note);
|
||||
|
||||
$data['edit_by'] = 1;
|
||||
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user