MAPG-128 set all default values when creating a new map

This commit is contained in:
Bence Pőcze 2020-06-11 10:33:59 +02:00
parent 81a3079a1a
commit 98fc735622

View File

@ -155,7 +155,11 @@ class MapAdminController implements ISecured
$modify = new Modify(\Container::$dbConnection, 'maps'); $modify = new Modify(\Container::$dbConnection, 'maps');
$modify->fill([ $modify->fill([
'name' => self::$unnamedMapName, '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(); $modify->save();