Bug 10664 [QA Followup] - fix error in overdue_notices.pl if there is no active currency
Fixes the following koha-qa.pl error: FAIL misc/cronjobs/overdue_notices.pl OK pod OK forbidden patterns OK valid FAIL critic # Variables::ProhibitConditionalDeclarations: Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
a9a3bb7b3d
commit
e476378323
1 changed files with 2 additions and 1 deletions
|
@ -689,7 +689,8 @@ sub parse_letter {
|
|||
}
|
||||
|
||||
my $currencies = GetCurrency();
|
||||
my $currency_format = $currencies->{currency} if defined($currencies);
|
||||
my $currency_format;
|
||||
$currency_format = $currencies->{currency} if defined($currencies);
|
||||
|
||||
my @item_tables;
|
||||
if ( my $i = $params->{'items'} ) {
|
||||
|
|
Loading…
Reference in a new issue