Lines 573-579
for my $itm (@items) {
Link Here
|
573 |
|
573 |
|
574 |
# get collection code description, too |
574 |
# get collection code description, too |
575 |
my $ccode = $itm->{'ccode'}; |
575 |
my $ccode = $itm->{'ccode'}; |
576 |
$itm->{'ccode'} = $collections->{$ccode} if ( defined($collections) && exists( $collections->{$ccode} ) ); |
576 |
$itm->{'ccode'} = $collections->{$ccode} if $ccode && $collections && $collections->{$ccode}; |
577 |
my $copynumber = $itm->{'copynumber'}; |
577 |
my $copynumber = $itm->{'copynumber'}; |
578 |
$itm->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumbers) && defined($copynumber) && exists( $copynumbers->{$copynumber} ) ); |
578 |
$itm->{'copynumber'} = $copynumbers->{$copynumber} if ( defined($copynumbers) && defined($copynumber) && exists( $copynumbers->{$copynumber} ) ); |
579 |
if ( defined $itm->{'location'} ) { |
579 |
if ( defined $itm->{'location'} ) { |