mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
Fix some PHP8.1 issues if possible
This commit is contained in:
parent
3b03da3259
commit
477bec1977
4 changed files with 9 additions and 9 deletions
|
@ -485,11 +485,11 @@ class Network
|
|||
$get('host') .
|
||||
($port ? ":$port" : '');
|
||||
|
||||
return (strlen($scheme) ? $scheme . ':' : '') .
|
||||
(strlen($authority) ? '//' . $authority : '') .
|
||||
return (!empty($scheme) ? $scheme . ':' : '') .
|
||||
(!empty($authority) ? '//' . $authority : '') .
|
||||
$get('path') .
|
||||
(strlen($query) ? '?' . $query : '') .
|
||||
(strlen($fragment) ? '#' . $fragment : '');
|
||||
(!empty($query) ? '?' . $query : '') .
|
||||
(!empty($fragment) ? '#' . $fragment : '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue