lp1979003 adding a space trimming from the tcn value before it it written user/rogan/lp1979003_trim_tcn_value
authorRogan Hamby <rogan.hamby@gmail.com>
Fri, 17 Jun 2022 18:11:32 +0000 (14:11 -0400)
committerRogan Hamby <rogan.hamby@gmail.com>
Fri, 17 Jun 2022 18:11:32 +0000 (14:11 -0400)
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm

index 5f48f7d..d35a93d 100644 (file)
@@ -235,6 +235,7 @@ sub _find_tcn_info {
         }
     }
 
+    if ($tcn) { $tcn =~ s/^\s+|\s+$//g; }
     return ($tcn, $tcn_source, $marcxml);
 }