From 5a79e8be4cf8bd874a92ef65bb5aa6cd0712876c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 3 Mar 2023 07:27:04 +0000 Subject: [PATCH] Bug 32437: (QA follow-up) Change to replace POD Making it more visible that this also applies to authority records. Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 23b34d1be9351a99e51aa61f2e01a367843d7206) Signed-off-by: Jacob O'Mara --- Koha/Import/Record.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Koha/Import/Record.pm b/Koha/Import/Record.pm index c85c533d40..ea238e6254 100644 --- a/Koha/Import/Record.pm +++ b/Koha/Import/Record.pm @@ -112,9 +112,10 @@ sub get_import_record_matches { =head3 replace -Import the record to replace an existing record which is passed to this sub +Replace an existing record ($auth or $biblio) with the import record. - $import_record->replace({ biblio => $biblio_object }); + $import_record->replace({ biblio => $biblio | authority => $auth }); + # where $biblio and $auth are Koha objects =cut -- 2.39.5