mirror of
https://github.com/friendica/friendica
synced 2025-04-28 12:24:23 +02:00
Make the tests happy
This commit is contained in:
parent
2c32429d8d
commit
0971bcf165
5 changed files with 6 additions and 6 deletions
|
@ -383,11 +383,11 @@ class APContact
|
|||
if (strlen($apcontact['photo']) > 255) {
|
||||
$parts = parse_url($apcontact['photo']);
|
||||
unset($parts['fragment']);
|
||||
$apcontact['photo'] = Uri::fromParts($parts);
|
||||
$apcontact['photo'] = (string)Uri::fromParts($parts);
|
||||
|
||||
if (strlen($apcontact['photo']) > 255) {
|
||||
unset($parts['query']);
|
||||
$apcontact['photo'] = Uri::fromParts($parts);
|
||||
$apcontact['photo'] = (string)Uri::fromParts($parts);
|
||||
}
|
||||
|
||||
if (strlen($apcontact['photo']) > 255) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue