From: Hypolite Petovan Date: Tue, 28 Jan 2025 03:01:40 +0000 (-0500) Subject: Fix wrong default value for contact_account in Mastodon\Instance X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=186b82d71dad4caa4ab67a91cc829adf95cfa2b6;p=friendica.git Fix wrong default value for contact_account in Mastodon\Instance --- diff --git a/src/Object/Api/Mastodon/Instance.php b/src/Object/Api/Mastodon/Instance.php index 8b1806f1cb..d5e8299304 100644 --- a/src/Object/Api/Mastodon/Instance.php +++ b/src/Object/Api/Mastodon/Instance.php @@ -61,7 +61,7 @@ class Instance extends BaseDataTransferObject $this->approval_required = ($register_policy === Register::APPROVE); $this->invites_enabled = false; $this->configuration = $configuration; - $this->contact_account = $contact_account ?? []; + $this->contact_account = $contact_account; $this->rules = $rules; } }