From c96b28ee6390ea14ac2050f7bee022c18193b70f Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 18 Jun 2024 05:49:04 +0000 Subject: [PATCH] Accept "null" as value for the "about" text --- src/Model/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Profile.php b/src/Model/Profile.php index d030b009df..b8eef7deb3 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -854,7 +854,7 @@ class Profile * @param string $language * @return string */ - public static function addResponsibleRelayContact(string $about, int $parent_uid = null, int $account_type, string $language): string + public static function addResponsibleRelayContact(string $about = null, int $parent_uid = null, int $account_type, string $language): ?string { if (($account_type != User::ACCOUNT_TYPE_RELAY) || empty($parent_uid)) { return $about;