Bug 19315: [QA Follow-up] Trivial edits
Replace $subs->{bibnum} by $biblionumber on a following line.
The scalar in the boolean expression is not needed.
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
285d72a023
commit
f923283323
|
|
@ -67,8 +67,8 @@ if($ok){
|
|||
# get biblio information....
|
||||
my $biblionumber = $subs->{'bibnum'};
|
||||
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber);
|
||||
my @itemresults = GetItemsInfo( $subs->{bibnum} );
|
||||
my $branch = scalar @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode};
|
||||
my @itemresults = GetItemsInfo( $biblionumber );
|
||||
my $branch = @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode};
|
||||
my $branchname = Koha::Libraries->find($branch)->branchname;
|
||||
|
||||
if (C4::Context->preference('RoutingListAddReserves')){
|
||||
|
|
|
|||
Loading…
Reference in New Issue