mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Frio: The activity buttons now have got counters
This commit is contained in:
parent
c5306dcec8
commit
1dd48e4a8b
6 changed files with 201 additions and 155 deletions
|
@ -636,7 +636,7 @@ class Event
|
|||
{
|
||||
$fmt = DI::l10n()->t('l, F j');
|
||||
|
||||
$item = Post::selectFirst(['plink', 'author-name', 'author-network', 'author-id', 'author-avatar', 'author-link', 'private', 'uri-id'], ['id' => $event['itemid']]);
|
||||
$item = Post::selectFirst(['plink', 'author-name', 'author-network', 'author-id', 'author-avatar', 'author-link', 'author-alias', 'private', 'uri-id'], ['id' => $event['itemid']]);
|
||||
if (empty($item)) {
|
||||
// Using default values when no item had been found
|
||||
$item = ['plink' => '', 'author-name' => '', 'author-avatar' => '', 'author-link' => '', 'private' => Item::PUBLIC, 'uri-id' => ($event['uri-id'] ?? 0)];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue