From: erickson Date: Wed, 7 May 2008 20:45:43 +0000 (+0000) Subject: applying empty tcn check on marc overlay api call as well X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=87d9f31f4cd200bffd212635dbb0181742ef3d58;p=Evergreen.git applying empty tcn check on marc overlay api call as well git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_2@9526 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm index ffee519667..11f4c10681 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm @@ -217,7 +217,7 @@ sub biblio_record_replace_marc { return $evt if $evt; - $rec->tcn_value($tcn); + $rec->tcn_value($tcn) if ($tcn); $rec->tcn_source($tsource); } else {