From 7a076dcb042b16471d7c96b012500e92ca9d1ebf Mon Sep 17 00:00:00 2001 From: Per Larsson Date: Thu, 14 Oct 2021 09:55:24 +0200 Subject: [PATCH] Bug 18138: Fix variable name Signed-off-by: Phil Ringnalda --- svc/bib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/bib b/svc/bib index bb1cca832b..d3961672a5 100755 --- a/svc/bib +++ b/svc/bib @@ -120,7 +120,7 @@ sub update_bib { } my $template_id = C4::Context->preference("SaveBiblioMarcModificationTemplate"); - if ($id) { + if ($template_id) { my $template = Koha::MarcModificationTemplates->find($template_id); if ($template) { ModifyRecordWithTemplate($template_id, $record); -- 2.40.0