hopefully last feedback :)

This commit is contained in:
Philipp 2022-11-01 00:09:30 +01:00
parent 41565326e3
commit baa97febef
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
3 changed files with 3 additions and 3 deletions

View File

@ -387,7 +387,7 @@ return [
'/hidden' => [Module\Contact::class, [R::GET]],
'/ignored' => [Module\Contact::class, [R::GET]],
'/hovercard' => [Module\Contact\Hovercard::class, [R::GET]],
'/follow[/{url}]' => [Module\Contact\Follow::class, [R::GET, R::POST]],
'/follow' => [Module\Contact\Follow::class, [R::GET, R::POST]],
'/unfollow' => [Module\Contact\Unfollow::class, [R::GET, R::POST]],
],

View File

@ -154,7 +154,7 @@ function vier_community_info()
foreach ($contacts as $contact) {
$entry = Renderer::replaceMacros($tpl, [
'$id' => $contact['id'],
'$profile_link' => 'contact/follow/?url='.urlencode($contact['url']),
'$profile_link' => 'contact/follow?url=' . urlencode($contact['url']),
'$photo' => Contact::getMicro($contact),
'$alt_text' => $contact['name'],
]);