mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
Accept "null" as value for the "about" text
This commit is contained in:
parent
269c67a185
commit
c96b28ee63
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue