MAPG-128 set all default values when creating a new map
This commit is contained in:
1 parent
81a3079a1a
commit
3dba997985
1 file changed
+5
-1
@@ -155,7 +155,11 @@ class MapAdminController implements ISecured
|
||||
$modify = new Modify(\Container::$dbConnection, 'maps');
|
||||
$modify->fill([
|
||||
'name' => self::$unnamedMapName,
|
||||
'description' => ''
|
||||
'description' => '',
|
||||
'bound_south_lat' => 0.0,
|
||||
'bound_west_lng' => 0.0,
|
||||
'bound_north_lat' => 0.0,
|
||||
'bound_east_lng' => 0.0
|
||||
]);
|
||||
$modify->save();
|
||||
|
||||
|
||||
Reference in new issue
Block a user