@@ -, +, @@ svc/checkouts --- svc/checkouts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/svc/checkouts +++ a/svc/checkouts @@ -151,12 +151,12 @@ while ( my $c = $sth->fetchrow_hashref() ) { GetRenewCount( $c->{borrowernumber}, $c->{itemnumber} ); my $itemtype = Koha::ItemTypes->find( $item_level_itypes ? $c->{itype} : $c->{itemtype} ); - my $location; + my $location = ""; if ( $c->{location} ) { my $av = Koha::AuthorisedValues->search({ category => 'LOC', authorised_value => $c->{location} }); $location = $av->count ? $av->next->lib : ''; } - my $collection; + my $collection = ""; if ( $c->{collection} ) { my $av = Koha::AuthorisedValues->search({ category => 'CCODE', authorised_value => $c->{collection} }); $collection = $av->count ? $av->next->lib : ''; --