Bug 21206: Fix SwitchOnSiteCheckouts.t
Fix conflict with
commit f8544ba579
Bug 21999: Move attributes to a variable to not dup them
Thanks tests!
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
2a58e32f7d
commit
8bbfd0c027
|
|
@ -1367,7 +1367,7 @@ sub AddIssue {
|
|||
auto_renew => $auto_renew ? 1 : 0,
|
||||
};
|
||||
|
||||
$issue = Koha::Checkouts->find( { itemnumber => $item->{itemnumber} } );
|
||||
$issue = Koha::Checkouts->find( { itemnumber => $item->itemnumber } );
|
||||
if ($issue) {
|
||||
$issue->set($issue_attributes)->store;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue