From 563edadc15c2397d439a9f35e8160b0b14c7e0a1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 20 Oct 2020 09:43:22 +0100 Subject: [PATCH] Bug 26745: Add TT support to 'title' in notices This patch adds support for using TT syntax in the title element of the notices system. Test plan --- C4/Letters.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/C4/Letters.pm b/C4/Letters.pm index 2bae52d346..d4793b31be 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -707,6 +707,15 @@ sub GetPreparedLetter { } ); + $letter->{title} = _process_tt( + { + content => $letter->{title}, + tables => $tables, + loops => $loops, + substitute => $substitute, + } + ); + $letter->{content} =~ s/<<\S*>>//go; #remove any stragglers return $letter; -- 2.20.1