Merge pull request #4210 from annando/fix-notification

Bugfix: The name of the item owner was empty in notifications
This commit is contained in:
Hypolite Petovan 2018-01-11 17:14:42 -05:00 committed by GitHub
commit 5f229e6030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ function notification($params)
$dest_str = sprintf(t('%1$s commented on [url=%2$s]%3$s\'s %4$s[/url]'),
'[url='.$params['source_link'].']'.$params['source_name'].'[/url]',
$itemlink,
$p['author-name'],
$item['author-name'],
$item_post_type);
}