From 14d13d9b5dab629f8f5be6b5ad8e53ba14688ff7 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 --- 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 87d6a9ec59..c40fc6221f 100755 --- a/misc/cronjobs/stockrotation.pl +++ b/misc/cronjobs/stockrotation.pl @@ -362,7 +362,7 @@ sub _report_per_branch { letter_code => "SR_SLIP", branchcode => $branch->{code}, message_transport_type => 'email', - substitute => $branch + substitute => { branch => $branch } ) ) { -- 2.39.5