From: Michael Date: Tue, 18 Jun 2024 05:49:04 +0000 (+0000) Subject: Accept "null" as value for the "about" text X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c96b28ee6390ea14ac2050f7bee022c18193b70f;p=friendica.git Accept "null" as value for the "about" text --- 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;