mirror of
https://github.com/friendica/friendica
synced 2025-05-06 15:44:11 +02:00
Make the tests happy
This commit is contained in:
parent
2c32429d8d
commit
0971bcf165
5 changed files with 6 additions and 6 deletions
|
@ -497,7 +497,7 @@ class Network
|
|||
$parts = parse_url($uri);
|
||||
if (!empty($parts['scheme']) && !empty($parts['host'])) {
|
||||
$parts['host'] = idn_to_ascii($parts['host']);
|
||||
$uri = Uri::fromParts($parts);
|
||||
$uri = (string)Uri::fromParts($parts);
|
||||
} else {
|
||||
$parts = explode('@', $uri);
|
||||
if (count($parts) == 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue