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