Merge pull request #2923 from rabuzarus/1611_fix_NotificationsManager_unseen

Bugfix: avatar images for activty like was not shown on notifications page
This commit is contained in:
Tobias Diekershoff 2016-11-16 14:09:18 +01:00 committed by GitHub
commit 1f9469b5e3
1 changed files with 1 additions and 1 deletions

View File

@ -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']