Fixed check for likes in notification mail
This commit is contained in:
parent
ae2e8beaac
commit
504433581a
1 changed files with 1 additions and 1 deletions
|
@ -785,7 +785,7 @@ class Notify extends BaseRepository
|
||||||
$params['type'] = Model\Notification\Type::COMMENT;
|
$params['type'] = Model\Notification\Type::COMMENT;
|
||||||
$subject = $l10n->t('%1$s Comment to conversation #%2$d by %3$s', $subjectPrefix, $item['parent'], $contact['name']);
|
$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) {
|
switch ($Notification->type) {
|
||||||
case Model\Post\UserNotification::TYPE_DIRECT_COMMENT:
|
case Model\Post\UserNotification::TYPE_DIRECT_COMMENT:
|
||||||
$subject = $l10n->t('%1$s %2$s liked your post #%3$d', $subjectPrefix, $contact['name'], $item['parent']);
|
$subject = $l10n->t('%1$s %2$s liked your post #%3$d', $subjectPrefix, $contact['name'], $item['parent']);
|
||||||
|
|
Loading…
Reference in a new issue