diff options
author | Yorhel <git@yorhel.nl> | 2010-12-23 12:51:35 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-12-23 12:54:44 +0100 |
commit | 6ff1efe0d07e24e9fb2db199c308c6cbed51e578 (patch) | |
tree | 510ad533838b4236ac9d3a17b9ac4c07d1790f04 /lib/VNDB/Handler/Misc.pm | |
parent | 951568c87b1a1ad6fcb73928608f76b3470fd817 (diff) |
Converted the show_list pref. to users_prefs and inverted the value
In the users_prefs table, the default value should evaluate to 'false'
in Perl, so show_list had to be inverted to hide_list.
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r-- | lib/VNDB/Handler/Misc.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm index 88e08f68..4e4e5479 100644 --- a/lib/VNDB/Handler/Misc.pm +++ b/lib/VNDB/Handler/Misc.pm @@ -197,7 +197,7 @@ sub history { return 404 if $f->{_err}; # get item object and title - my $obj = $type eq 'u' ? $self->dbUserGet(uid => $id)->[0] : + my $obj = $type eq 'u' ? $self->dbUserGet(uid => $id, what => 'hide_list')->[0] : $type eq 'p' ? $self->dbProducerGet(id => $id)->[0] : $type eq 'r' ? $self->dbReleaseGet(id => $id)->[0] : $type eq 'v' ? $self->dbVNGet(id => $id)->[0] : undef; |