Fixed check for likes in notification mail
This commit is contained in:
parent
ae2e8beaac
commit
504433581a
|
@ -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 New Issue
Block a user