diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | lib/VNDB/Handler/Discussions.pm | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -2.20 - ? +2.20 - 2011-05-01 - Added support for sponsored links on VN pages - Order the VNs listed on char browser by release date - Order the traits groups on /i by their 'order' column @@ -29,6 +29,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 - Bugfix: Forgot to make two JS strings translatable - Bugfix: Don't allow unicode numbers as 'int' in formValidate 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; |