From 29730124e8fcc837a4a5ae173c81dadba4c17808 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 13 Jun 2024 15:46:43 +0000 Subject: [PATCH] Bug 35044: 00-testcritic.t fix Squash to 'Update: Serial subscriptions' --- serials/subscription-add.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl index 699e1dfd67..b8dba407ca 100755 --- a/serials/subscription-add.pl +++ b/serials/subscription-add.pl @@ -132,7 +132,8 @@ $template->param( ); my @additional_fields = Koha::AdditionalFields->search({ tablename => 'subscription' })->as_list; -my @additional_field_values = Koha::Subscriptions->find($subscriptionid)->get_additional_field_values_for_template if $subscriptionid; +my @additional_field_values; +@additional_field_values = Koha::Subscriptions->find($subscriptionid)->get_additional_field_values_for_template if $subscriptionid; $template->param( additional_fields => \@additional_fields, -- 2.39.2