summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2022-09-23 14:09:47 +0200
committerYorhel <git@yorhel.nl>2022-09-28 09:35:55 +0200
commit9198527676e018ba614695fffda487442f9ae713 (patch)
treebdf7892cb4f997fde1494bfb8fd2d9aaf2ebfd82
parent5515ca02b09500332dc0f4b8ca4819fce6106fd5 (diff)
Releases::Edit: Fix title display
-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 c2ee566b..b94c5aba 100644
--- a/lib/VNWeb/Releases/Edit.pm
+++ b/lib/VNWeb/Releases/Edit.pm
@@ -84,7 +84,7 @@ TUWF::get qr{/$RE{rrev}/(?<action>edit|copy)} => sub {
$e->@{qw/gtin catalog extlinks/} = elm_empty($FORM_OUT)->@{qw/gtin catalog extlinks/} if $copy;
- my $title = ($copy ? 'Copy ' : 'Edit ').$e->{title};
+ my $title = ($copy ? 'Copy ' : 'Edit ').tuwf->dbVali('SELECT title FROM releasest WHERE id =', \$e->{id});
framework_ title => $title, dbobj => $e, tab => tuwf->capture('action'),
sub {
editmsg_ r => $e, $title, $copy;