[open-ils-commits] r9520 -
trunk/Open-ILS/src/perlmods/OpenILS/Application
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed May 7 14:17:40 EDT 2008
Author: miker
Date: 2008-05-07 14:17:37 -0400 (Wed, 07 May 2008)
New Revision: 9520
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
Log:
do not record emtpy tcn valuesOpen-ILS/src/perlmods/OpenILS/Application/Cat.pm
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm 2008-05-07 17:33:19 UTC (rev 9519)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm 2008-05-07 18:17:37 UTC (rev 9520)
@@ -292,7 +292,7 @@
$record->source(bib_source_from_name($source)) if $source;
$record->tcn_source($tcn_source);
- $record->tcn_value($tcn);
+ $record->tcn_value($tcn) if ($tcn);
$record->creator($e->requestor->id);
$record->editor($e->requestor->id);
$record->create_date('now');
More information about the open-ils-commits
mailing list