This commit is contained in:
Benjamin Takats
2023-01-28 23:41:04 +01:00
parent d4847abbf8
commit 8536f30cc2

View File

@@ -107,7 +107,7 @@ class PrepareForBtcMapItem extends Component
->get('trimmed_'.$this->selectedItem['osm_id'].'.json')), ->get('trimmed_'.$this->selectedItem['osm_id'].'.json')),
false, 512, JSON_THROW_ON_ERROR); false, 512, JSON_THROW_ON_ERROR);
$this->meetup->city->population = 0; $this->meetup->city->population = 0;
$this->meetup->city->population_date = date('Y'); $this->meetup->city->population_date = '2021-12-31';
$this->meetup->city->save(); $this->meetup->city->save();
return to_route('osm.meetups.item', ['meetup' => $this->meetup]); return to_route('osm.meetups.item', ['meetup' => $this->meetup]);