From: erickson Date: Fri, 28 Jul 2006 15:42:58 +0000 (+0000) Subject: sanity check X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dc0fb3fa4a08b8aadf1b3acaaa5b3a313855a8ae;p=evergreen%2Fpines.git sanity check git-svn-id: svn://svn.open-ils.org/ILS/trunk@5152 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 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 );