Fixes #6844 -- Better handling of empty strings on homepage redirect URL.
This commit is contained in:
parent
b1cd507b50
commit
5cee0b666b
|
@ -352,7 +352,7 @@ class Settings implements Stringable
|
|||
|
||||
public function getHomepageRedirectUrl(): ?string
|
||||
{
|
||||
return Types::stringOrNull($this->homepage_redirect_url);
|
||||
return Types::stringOrNull($this->homepage_redirect_url, true);
|
||||
}
|
||||
|
||||
public function setHomepageRedirectUrl(?string $homepageRedirectUrl): void
|
||||
|
|
Loading…
Reference in New Issue