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:
Jonathan Druart 2019-02-15 10:38:14 -03:00 committed by root
parent 2a58e32f7d
commit 8bbfd0c027
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}