projects
/
working
/
SIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32baaa3
)
Eliminate warning message for uninitialized variable use
author
djfiander
<djfiander>
Sun, 21 May 2006 13:52:51 +0000
(13:52 +0000)
committer
djfiander
<djfiander>
Sun, 21 May 2006 13:52:51 +0000
(13:52 +0000)
ILS.pm
patch
|
blob
|
history
diff --git
a/ILS.pm
b/ILS.pm
index
2ee1ded
..
a00aaac
100644
(file)
--- a/
ILS.pm
+++ b/
ILS.pm
@@
-95,7
+95,7
@@
sub checkout {
if ($circ->ok) {
# If the item is already associated with this patron, then
# we're renewing it.
- $circ->renew_ok($item->{patron}
eq $patron_id
);
+ $circ->renew_ok($item->{patron}
&& ($item->{patron} eq $patron_id)
);
$item->{patron} = $patron_id;
$item->{due_date} = time + (14*24*60*60); # two weeks
push(@{$patron->{items}}, $item_id);