From 974f911bc634188ec528959016008a61c518c52e Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Mon, 9 Feb 2026 12:50:08 +0000 Subject: [PATCH] Bug 41566: (follow-up) Prevent runtime error by assigning fallback falsy value to ClaimReturnedLostValue --- .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc index 6e676620903..076535893f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc @@ -138,7 +138,7 @@ EnableItemGroups: [% Koha.Preference('EnableItemGroups') ? 1 : 0 | html %], UseRecalls: [% Koha.Preference('UseRecalls') ? 1 : 0 | html %], UseCourseReserves: [% Koha.Preference('UseCourseReserves') ? 1 : 0 | html %], - ClaimReturnedLostValue: [% Koha.Preference('ClaimReturnedLostValue') | html %], + ClaimReturnedLostValue: [% Koha.Preference('ClaimReturnedLostValue') || 0 | html %], EasyAnalyticalRecords: [% Koha.Preference('EasyAnalyticalRecords') ? 1 : 0| html %], SeparateHoldings: [% Koha.Preference('SeparateHoldings') ? 1 : 0 | html %], SeparateHoldingsBranch: "[% Koha.Preference('SeparateHoldingsBranch') || 'homebranch' | html %]", -- 2.39.5