From b3795df8012545af4134d7402e9609e2d89f7be9 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 --- misc/cronjobs/stockrotation.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc/cronjobs/stockrotation.pl b/misc/cronjobs/stockrotation.pl index 87d6a9e..c40fc62 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 } ) ) { -- 1.7.2.5