projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0c8150
)
Fix for Reserves.t allow the tests to run without a logged in user
author
Chris Cormack
<chrisc@catalyst.net.nz>
Thu, 14 Apr 2011 03:03:37 +0000
(15:03 +1200)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Thu, 14 Apr 2011 03:03:37 +0000
(15:03 +1200)
C4/Circulation.pm
patch
|
blob
|
history
diff --git
a/C4/Circulation.pm
b/C4/Circulation.pm
index
b977524
..
9a2db4c
100644
(file)
--- a/
C4/Circulation.pm
+++ b/
C4/Circulation.pm
@@
-1924,7
+1924,7
@@
sub _GetCircControlBranch {
my $branch;
if ($circcontrol eq 'PickupLibrary') {
- $branch= C4::Context->userenv->{'branch'};
+ $branch= C4::Context->userenv->{'branch'}
if C4::Context->userenv
;
} elsif ($circcontrol eq 'PatronLibrary') {
$branch=$borrower->{branchcode};
} else {