diff options
author | Yorhel <git@yorhel.nl> | 2021-01-29 10:02:35 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2021-01-29 10:02:37 +0100 |
commit | f642cef290781cb610ee57058c92b51df1f0f8a3 (patch) | |
tree | 15cb1a9befae1c3a41fbd1e58639e17deb6ea28f /lib/VNWeb/Discussions | |
parent | 3b15a8f815e4265e19f8b1245c5ee033feaa24e6 (diff) |
Discussions::Thread: Remove report link on deleted posts
https://vndb.org/t2520.537
Diffstat (limited to 'lib/VNWeb/Discussions')
-rw-r--r-- | lib/VNWeb/Discussions/Thread.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Discussions/Thread.pm b/lib/VNWeb/Discussions/Thread.pm index dd443d93..94bf7d02 100644 --- a/lib/VNWeb/Discussions/Thread.pm +++ b/lib/VNWeb/Discussions/Thread.pm @@ -121,7 +121,7 @@ sub posts_ { } a_ href => "/report/$t->{id}.$_->{num}", 'report'; txt_ ' >'; - }; + } if !$_->{hidden} || can_edit t => $_; if($_->{hidden}) { i_ class => 'deleted', 'Post deleted.'; } else { |