mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
🤖 Auto commit for release 'develop' on 2025-09-07
This commit is contained in:
@@ -184,11 +184,11 @@ class General extends AbstractExtension
|
||||
static function (string $string): string {
|
||||
$proto = parse_url($string, PHP_URL_SCHEME);
|
||||
$host = parse_url($string, PHP_URL_HOST);
|
||||
if(is_array($host)) {
|
||||
$host = join(' ', $host);
|
||||
if (is_array($host)) {
|
||||
$host = implode(' ', $host);
|
||||
}
|
||||
if(is_array($proto)) {
|
||||
$proto = join(' ', $proto);
|
||||
if (is_array($proto)) {
|
||||
$proto = implode(' ', $proto);
|
||||
}
|
||||
|
||||
return e(sprintf('%s://%s', $proto, $host));
|
||||
|
Reference in New Issue
Block a user