]> git.mxchange.org Git - friendica.git/commitdiff
Accept "null" as value for the "about" text
authorMichael <heluecht@pirati.ca>
Tue, 18 Jun 2024 05:49:04 +0000 (05:49 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 18 Jun 2024 05:49:04 +0000 (05:49 +0000)
src/Model/Profile.php

index d030b009df068d2ba2853743e89b5a2ad7c59b71..b8eef7deb3019f3a0c4b7d9eea69fb4a50997624 100644 (file)
@@ -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;