mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Merge pull request #687 from pixelfed/frontend-ui-refactor
Update AP helpers
This commit is contained in:
commit
ddadf86eea
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class Helpers {
|
||||||
$activity = ['object' => $res];
|
$activity = ['object' => $res];
|
||||||
}
|
}
|
||||||
|
|
||||||
$idDomain = parse_url($activity['id'], PHP_URL_HOST);
|
$idDomain = parse_url($res['id'], PHP_URL_HOST);
|
||||||
$urlDomain = parse_url($url, PHP_URL_HOST);
|
$urlDomain = parse_url($url, PHP_URL_HOST);
|
||||||
$actorDomain = parse_url($activity['object']['attributedTo'], PHP_URL_HOST);
|
$actorDomain = parse_url($activity['object']['attributedTo'], PHP_URL_HOST);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue