Merged in hotfix/MAPG-128-saving-a-new-map-does-not-work (pull request #99)

MAPG-128 set all default values when creating a new map
This commit is contained in:
Bence Pőcze 2020-06-11 08:34:52 +00:00
commit d6f34b916e

View File

@ -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();