mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Merge pull request #14242 from annando/error
Accept "null" as value for the "about" text
This commit is contained in:
commit
f8a53662d5
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ class Profile
|
||||||
* @param string $language
|
* @param string $language
|
||||||
* @return string
|
* @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)) {
|
if (($account_type != User::ACCOUNT_TYPE_RELAY) || empty($parent_uid)) {
|
||||||
return $about;
|
return $about;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue