summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Users.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-09-11 19:52:44 +0200
committerYorhel <git@yorhel.nl>2019-09-11 19:52:44 +0200
commit794806518f18bfb5470a785bb47ca799f11679b3 (patch)
tree63be39090829a890f9a95d2397d12635bcaab31b /lib/VNDB/Handler/Users.pm
parent26c2f1290468309e69d3139842481920e79cd5bc (diff)
VNDB::Types: Convert vn_lengths, anime_types and tag_categories
Diffstat (limited to 'lib/VNDB/Handler/Users.pm')
-rw-r--r--lib/VNDB/Handler/Users.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index 00f0d841..09f148d5 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -5,6 +5,7 @@ use strict;
use warnings;
use TUWF ':html', 'xml_escape';
use VNDB::Func;
+use VNDB::Types;
use POSIX 'floor';
use PWLookup;
@@ -530,7 +531,7 @@ sub edit {
[ check => short => 'traits_sexual', name => 'Show sexual traits by default on character pages.' ],
[ check => short => 'tags_all', name => 'Show all tags by default on visual novel pages.' ],
[ select => short => 'tags_cat', name => 'Tag categories', multi => 1, size => 3,
- options => [ map [ $_, $self->{tag_categories}{$_} ], keys %{$self->{tag_categories}} ] ],
+ options => [ map [ $_, $TAG_CATEGORY{$_} ], keys %TAG_CATEGORY ] ],
[ select => short => 'spoilers', name => 'Spoiler level', options => [
[0, 'Hide spoilers'], [1, 'Show only minor spoilers'], [2, 'Show all spoilers'] ]],
[ select => short => 'skin', name => 'Preferred skin', width => 300, options => [