From: Rogan Hamby Date: Fri, 17 Jun 2022 18:11:32 +0000 (-0400) Subject: lp1979003 adding a space trimming from the tcn value before it it written X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Frogan%2Flp1979003_trim_tcn_value;p=working%2FEvergreen.git lp1979003 adding a space trimming from the tcn value before it it written --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm index 5f48f7d97c..d35a93d4b4 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm @@ -235,6 +235,7 @@ sub _find_tcn_info { } } + if ($tcn) { $tcn =~ s/^\s+|\s+$//g; } return ($tcn, $tcn_source, $marcxml); }