Bug 21471: (bug 21184 follow-up) Misspelled variable in _get_outstanding_holds
Misspelled variable causes _get_outstanding_holds to crash
if patron is queued on biblio level
Caused by
commit 62a075987a
Bug 21184: Replace C4::Items::GetBarcodeFromItemnumber calls
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
16fe5d7f30
commit
b4d8d13f14
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ sub _get_outstanding_holds {
|
|||
# We need to return a barcode for the biblio so the client
|
||||
# can request the biblio info
|
||||
my $items = $hold->biblio->items;
|
||||
$item = $items->count ? $item->next : undef;
|
||||
$item = $items->count ? $items->next : undef;
|
||||
}
|
||||
my $unblessed_hold = $hold->unblessed;
|
||||
|
||||
|
|
Loading…
Reference in a new issue