summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--lib/VNDB/Handler/Discussions.pm2
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a362661..727b4e71 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;