Bug, using branchcode instead of branch
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
3dda0fa639
commit
86716641ca
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ sub TooMany {
|
|||
my $branch;
|
||||
# Get which branchcode we need
|
||||
if (C4::Context->preference('CircControl') eq 'PickupLibary'){
|
||||
$branch = C4::Context->userenv->{'branchcode'};
|
||||
$branch = C4::Context->userenv->{'branch'};
|
||||
}
|
||||
elsif (C4::Context->preference('CircControl') eq 'PatronLibary'){
|
||||
$branch = $borrower->{'branchcode'};
|
||||
|
|
Loading…
Reference in a new issue