summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Staff/Edit.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-10-16 15:48:59 +0200
committerYorhel <git@yorhel.nl>2019-10-16 15:49:03 +0200
commitb7ed0a4f7b93707aee0c06b343685569e21fbab7 (patch)
tree9575dbea055346b031dd7401ab485aac0d9c2ea8 /lib/VNWeb/Staff/Edit.pm
parent678f511619708ba893cb2414eead90cdae685708 (diff)
Fix editing of staff entries without Wikidata
And I can't say the wikidata field is all that intuitive to edit. Need to look at it later...
Diffstat (limited to 'lib/VNWeb/Staff/Edit.pm')
-rw-r--r--lib/VNWeb/Staff/Edit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Staff/Edit.pm b/lib/VNWeb/Staff/Edit.pm
index b3c69db7..43ca9c90 100644
--- a/lib/VNWeb/Staff/Edit.pm
+++ b/lib/VNWeb/Staff/Edit.pm
@@ -15,7 +15,7 @@ my $FORM = {
gender => { required => 0, default => 'unknown', enum => [qw[unknown m f]] },
lang => { language => 1 },
l_site => { required => 0, default => '', weburl => 1 },
- l_wikidata => { required => 0, default => 0, id => 1 },
+ l_wikidata => { required => 0, id => 1 },
l_twitter => { required => 0, default => '', regex => qr/^\S+$/, maxlength => 16 },
l_anidb => { required => 0, id => 1, default => undef },
l_pixiv => { required => 0, id => 1, default => 0 },