summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-06-01 14:23:03 +0200
committerYorhel <git@yorhel.nl>2009-06-01 14:23:03 +0200
commit36c03eb517b5765daff67d8a726e18657c07da09 (patch)
tree0c9fa34372a1f6f32351d52b3a6202f56bc91aac /lib
parent4d7c63c0cdf60d6c754dff11f85f7f067f1e8d8f (diff)
Display edit history for hidden items
Diffstat (limited to 'lib')
-rw-r--r--lib/VNDB/Handler/Misc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index a9a5ad14..dacc0f9c 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -212,7 +212,7 @@ sub history {
page => $f->{p},
results => 50,
auto => $f->{m},
- hidden => $f->{h},
+ hidden => $type && $type ne 'u' ? 0 : $f->{h},
edit => $f->{e},
releases => $f->{r},
);