sanity check
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 28 Jul 2006 15:42:58 +0000 (15:42 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 28 Jul 2006 15:42:58 +0000 (15:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5152 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Cat.pm

index 841de13..89418c2 100644 (file)
@@ -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 );