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:
		
						commit
						d6f34b916e
					
				| @ -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(); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user