Show
Ignore:
Timestamp:
03/21/08 15:24:22 (7 months ago)
Author:
erickson
Message:

protecting against undefined copy array

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm

    r8818 r9108  
    906906 
    907907                # now update any attached copies 
    908                 if( @$copies and !$vol->isdeleted ) { 
     908                if( $copies and @$copies and !$vol->isdeleted ) { 
    909909                        $_->call_number($vol->id) for @$copies; 
    910910                        $evt = update_fleshed_copies( $editor, $override, $vol, $copies, $delete_stats );