Merge pull request #12991 from annando/like-notification
Fixed check for likes in notification mail
This commit is contained in:
commit
2486383ef0
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ class Notify extends BaseRepository
|
|||
$params['type'] = Model\Notification\Type::COMMENT;
|
||||
$subject = $l10n->t('%1$s Comment to conversation #%2$d by %3$s', $subjectPrefix, $item['parent'], $contact['name']);
|
||||
|
||||
if ($params['verb'] = Activity::LIKE) {
|
||||
if ($params['verb'] == Activity::LIKE) {
|
||||
switch ($Notification->type) {
|
||||
case Model\Post\UserNotification::TYPE_DIRECT_COMMENT:
|
||||
$subject = $l10n->t('%1$s %2$s liked your post #%3$d', $subjectPrefix, $contact['name'], $item['parent']);
|
||||
|
|
Loading…
Reference in a new issue