FIX
This commit is contained in:
parent
6a9ac8f73c
commit
b7aeda4d45
|
|
@ -19,8 +19,7 @@ switch ($notification->type) {
|
|||
break;
|
||||
case Notifications::typeReply:
|
||||
$comment = $notification->RefComment;
|
||||
$article = Article::model()->getByPK($comment->parentId);
|
||||
print strftime('%d %b %H:%M', $notification->date).' — '.$comment->RefUser->nick.' <a href="/article/'.$article->id.'#comment'.$comment->id.'">ответил</a> на ваш комментарий к статье <a href="/article/'.$article->id.'">"'.$article->title.'"</a>.';
|
||||
print strftime('%d %b %H:%M', $notification->date).' — '.$comment->RefUser->nick.' <a href="/'.$comment->parentType.'/'.$comment->parentId.'#comment'.$comment->id.'">ответил(-а)</a> на ваш комментарий.';
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue