From d2e01e90ee6de6d56454a5d9007c5235270fa2c7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 18 Jun 2019 14:29:02 +0100 Subject: [PATCH] Bug 22566: Add 'branch' key to GetPreparedLetter The branch key was missing from the subsitution call to GetPreparedLetter. Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize (cherry picked from commit b3795df8012545af4134d7402e9609e2d89f7be9) Signed-off-by: Fridolin Somers (cherry picked from commit 14d13d9b5dab629f8f5be6b5ad8e53ba14688ff7) Signed-off-by: Lucas Gass --- misc/cronjobs/stockrotation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/stockrotation.pl b/misc/cronjobs/stockrotation.pl index dbbc848a5a..cf385a8d96 100755 --- a/misc/cronjobs/stockrotation.pl +++ b/misc/cronjobs/stockrotation.pl @@ -360,7 +360,7 @@ sub _report_per_branch { letter_code => "SR_SLIP", branchcode => $branch->{code}, message_transport_type => 'email', - substitute => $branch + substitute => { branch => $branch } ) ) { -- 2.39.5