Fix for renewing

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Chris Cormack 2007-12-02 17:10:29 -06:00 committed by Joshua Ferraro
parent 64d2f25b5b
commit 54e6cf71e3
1 changed files with 1 additions and 1 deletions

View File

@ -1671,7 +1671,7 @@ sub AddRenewal {
'Rent', $charge, $itemnumber );
$sth->finish;
}
UpdateStats( C4::Context->userenv->{'branchcode'}, 'renew', $charge, '', $itemnumber );
UpdateStats( $branch, 'renew', $charge, '', $itemnumber );
}
sub GetRenewCount {