From cd390bec4743a69086db1f8e74f0c0c513ad0f13 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 6 Aug 2021 14:51:48 +0100 Subject: [PATCH] Bug 28824: Fix for variable declaration scope --- C4/Letters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 177a4f51f6..aa157be99e 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -410,7 +410,7 @@ sub SendAlerts { } if ( $type eq 'orderacquisition') { - my $basketno = $externalid; + $basketno = $externalid; $strsth = qq{ SELECT aqorders.*,aqbasket.*,biblio.*,biblioitems.* FROM aqorders -- 2.20.1