diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/VNDB/Handler/Discussions.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -16,6 +16,7 @@ - Bugfix: Hide pointless groups and commas on spoiler-hidden trait display - Bugfix: Properly format future dates on my vn list - Bugfix: Properly position the sub-tabs on VN page without tags + - Bugfix: Allow unhiding of posts by mods 2.19 - 2011-03-30 - Character database: diff --git a/lib/VNDB/Handler/Discussions.pm b/lib/VNDB/Handler/Discussions.pm index a5064ad2..7b4fb2b4 100644 --- a/lib/VNDB/Handler/Discussions.pm +++ b/lib/VNDB/Handler/Discussions.pm @@ -152,7 +152,7 @@ sub edit { return $self->htmlDenied if !$self->authCan('board') || ($tid && ($t->{locked} || $t->{hidden}) && !$self->authCan('boardmod')) || ($num && $p->{uid} != $self->authInfo->{id} && !$self->authCan('boardmod')) - || ($num && $p->{uid} == $self->authInfo->{id} && $p->{hidden}); + || ($num && $p->{hidden} && !$self->authCan('boardmod')); # check form etc... my $frm; |