From dc0fb3fa4a08b8aadf1b3acaaa5b3a313855a8ae Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 28 Jul 2006 15:42:58 +0000 Subject: [PATCH] sanity check git-svn-id: svn://svn.open-ils.org/ILS/trunk@5152 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Cat.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm index 841de131f4..89418c2eb1 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm @@ -1093,6 +1093,7 @@ sub update_copy_stat_entries { # go through the stat cat update/create process for my $entry (@$entries) { + next unless $entry; # if this link already exists in the DB, don't attempt to re-create it next if( grep{$_->stat_cat_entry == $entry->id} @$maps ); -- 2.11.0