summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--lib/VNDB/Handler/Misc.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d45d50f8..f371d68b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,7 @@ git - ?
- Copy over search query when switching search type (htmlSearchBox)
- Fixed obscure sorting bug on user VN list
- Fixed calculation of tags_vn_bayesian.spoiler
+ - Fixed bug with unhiding a producer entry
2.7 - 2009-09-24
- Improved styling of the threeboxes layout
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}));