Bug 34212: Replace Koha::Checkouts->find with $item->checkout
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
d20e4ebbde
commit
fa85255a0c
1 changed files with 1 additions and 1 deletions
|
@ -1546,7 +1546,7 @@ sub AddIssue {
|
|||
$datedue,
|
||||
$issuedate, # here interpreted as the renewal date
|
||||
);
|
||||
$issue = Koha::Checkouts->find( { itemnumber => $item_object->itemnumber } );
|
||||
$issue = $item_object->checkout;
|
||||
}
|
||||
else {
|
||||
|
||||
|
|
Loading…
Reference in a new issue