Lines 65-74
my ($template, $loggedinuser, $cookie);
Link Here
|
65 |
|
65 |
|
66 |
if($ok){ |
66 |
if($ok){ |
67 |
# get biblio information.... |
67 |
# get biblio information.... |
68 |
my $biblionumber = $subs->{'biblionumber'}; |
68 |
my $biblionumber = $subs->{'bibnum'}; |
69 |
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber); |
69 |
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber); |
70 |
my @itemresults = GetItemsInfo( $subs->{biblionumber} ); |
70 |
my @itemresults = GetItemsInfo( $subs->{bibnum} ); |
71 |
my $branch = $itemresults[0]->{'holdingbranch'}; |
71 |
my $branch = scalar @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode}; |
72 |
my $branchname = Koha::Libraries->find($branch)->branchname; |
72 |
my $branchname = Koha::Libraries->find($branch)->branchname; |
73 |
|
73 |
|
74 |
if (C4::Context->preference('RoutingListAddReserves')){ |
74 |
if (C4::Context->preference('RoutingListAddReserves')){ |
75 |
- |
|
|