summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-10-18 18:46:22 +0200
committerYorhel <git@yorhel.nl>2009-10-18 18:46:37 +0200
commitfab6821be0cf1e7ad0f9c853475ec1d01482234a (patch)
tree50900913aadf465185329e00eec9494c504884e6 /lib
parent62cb41c3b8780bffe5a8ea58a6a7b5053d9e1059 (diff)
Handler::Misc: Fixed bug with unhiding a producer entry
I could swear I'd found and fixed a similar bug in the past...
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 7896ad52..72db2489 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -328,7 +328,7 @@ sub itemmod {
my $obj = $type eq 'v' ? $self->dbVNGet(id => $iid)->[0] :
$type eq 'r' ? $self->dbReleaseGet(id => $iid, what => 'vn extended')->[0] :
- $self->dbProducerGet(id => $iid)->[0];
+ $self->dbProducerGet(id => $iid, what => 'extended')->[0];
return 404 if !$obj->{id};
$self->dbItemMod($type, $iid, $act eq 'hide' ? (hidden => !$obj->{hidden}) : (locked => !$obj->{locked}));