merge with geojson easify repo

This commit is contained in:
HolgerHatGarKeineNode
2023-02-06 21:50:37 +01:00
parent 2f08a8142a
commit 0ee125abd6

View File

@@ -286,6 +286,9 @@ class PrepareForBtcMapItem extends Component
$this->model->population = str($value) $this->model->population = str($value)
->replace(['.', ','], '') ->replace(['.', ','], '')
->toInteger(); ->toInteger();
if (!$this->model->population_date) {
$this->model->population_date = '2021-12-31';
}
$this->model->save(); $this->model->save();
$this->notification() $this->notification()