summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Releases
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-11-16 07:42:22 +0100
committerYorhel <git@yorhel.nl>2021-11-16 07:42:22 +0100
commit7a5892ed98fad9cf6f0887c8931d76ec19f1def9 (patch)
tree2752d3c34317da18c26bb5823a043f320e88bca4 /lib/VNWeb/Releases
parente4d3f0b8da83a393ab8f975d7025c18cbcff4957 (diff)
Releases::Edit: Fix loading of the "add release" form
Diffstat (limited to 'lib/VNWeb/Releases')
-rw-r--r--lib/VNWeb/Releases/Edit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/Releases/Edit.pm b/lib/VNWeb/Releases/Edit.pm
index 0689857a..fe69d1b6 100644
--- a/lib/VNWeb/Releases/Edit.pm
+++ b/lib/VNWeb/Releases/Edit.pm
@@ -95,7 +95,7 @@ TUWF::get qr{/$RE{vid}/add}, sub {
elm_empty($FORM_OUT)->%*,
title => $v->{title},
original => $v->{original},
- vn => [{vid => $v->{id}, title => $v->{title}}],
+ vn => [{vid => $v->{id}, title => $v->{title}, rtype => 'complete'}],
official => 1,
};
$e->{authmod} = auth->permDbmod;