Committer: sbelyaev
LJSUP-11850: We should display post with closed lj-cut in all notificationsU trunk/cgi-bin/LJ/Event/JournalNewComment.pm
Modified: trunk/cgi-bin/LJ/Event/JournalNewComment.pm =================================================================== --- trunk/cgi-bin/LJ/Event/JournalNewComment.pm 2012-04-18 06:35:42 UTC (rev 21739) +++ trunk/cgi-bin/LJ/Event/JournalNewComment.pm 2012-04-18 11:30:23 UTC (rev 21740) @@ -143,6 +143,8 @@ my ($self, $u) = @_; my $comment = $self->comment or return "(Invalid comment)"; + LJ::set_remote($u); + my $filename = $self->template_file_for(section => 'body_text', lang => $u->prop('browselang')); if ($filename) { # Load template file into template processor