projects
/
koha-equinox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2a58e32
)
Bug 21206: Fix SwitchOnSiteCheckouts.t
author
Jonathan Druart
<jonathan.druart@bugs.koha-community.org>
Fri, 15 Feb 2019 13:38:14 +0000 (10:38 -0300)
committer
root
<root@f1ebe1bec408>
Tue, 26 Feb 2019 13:24:07 +0000 (13:24 +0000)
Fix conflict with
commit
f8544ba5799c457057d42aefc63c88e15a08b096
Bug 21999: Move attributes to a variable to not dup them
Thanks tests!
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Circulation.pm
patch
|
blob
|
history
diff --git
a/C4/Circulation.pm
b/C4/Circulation.pm
index
d237657
..
5d059a8
100644
(file)
--- a/
C4/Circulation.pm
+++ b/
C4/Circulation.pm
@@
-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;
}