From 9198527676e018ba614695fffda487442f9ae713 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Fri, 23 Sep 2022 14:09:47 +0200 Subject: Releases::Edit: Fix title display --- lib/VNWeb/Releases/Edit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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}/(?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; -- cgit v1.2.3