From f2b9304f79c3dfbf8314d1f96762c628b790a87a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Fri, 8 Mar 2024 04:07:20 +0100 Subject: [PATCH] Fix zipcode default value to match form input type --- Entity/Location.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Entity/Location.php b/Entity/Location.php index 62ef9fc..d70bddf 100644 --- a/Entity/Location.php +++ b/Entity/Location.php @@ -57,7 +57,7 @@ class Location { /** * Constructor */ - public function __construct(private string $title = '', private string $address = '', private string $zipcode = '', private string $city = '', private string $latitude = '0', private string $longitude = '0', private bool $hotspot = false, private bool $indoor = false) { + public function __construct(private string $title = '', private string $address = '', private string $zipcode = '0', private string $city = '', private string $latitude = '0', private string $longitude = '0', private bool $hotspot = false, private bool $indoor = false) { //Set defaults $this->created = new \DateTime('now'); $this->updated = new \DateTime('now'); -- 2.41.1