Merge pull request #14242 from annando/error

Accept "null" as value for the "about" text
pull/14245/head
Hypolite Petovan 2024-06-18 02:11:15 -04:00 zatwierdzone przez GitHub
commit f8a53662d5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;