Merge pull request #2923 from rabuzarus/1611_fix_NotificationsManager_unseen

Bugfix: avatar images for activty like was not shown on notifications page
2022.09-rc
Tobias Diekershoff 2016-11-16 14:09:18 +01:00 zatwierdzone przez GitHub
commit 1f9469b5e3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -252,7 +252,7 @@ class NotificationsManager {
$notif = array(
'label' => 'like',
'link' => $this->a->get_baseurl(true).'/display/'.$it['pguid'],
'$image' => proxy_url($it['author-avatar'], false, PROXY_SIZE_MICRO),
'image' => proxy_url($it['author-avatar'], false, PROXY_SIZE_MICRO),
'text' => sprintf(t("%s liked %s's post"), $it['author-name'], $it['pname']),
'when' => relative_date($it['created']),
'seen' => $it['seen']