From bb35d53a239a710742fedf9d07df611bc29f4af4 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. --- 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.20.1