Fix for bug 937.

This commit is contained in:
joshferraro 2005-02-22 22:41:24 +00:00
parent 3fb371a896
commit 5dbb6708d9
1 changed files with 1 additions and 1 deletions

View File

@ -1659,7 +1659,7 @@ sub renewbook {
my $iteminformation = getiteminformation($env, $itemno,0);
my $borrower = getpatroninformation($env,$bornum,0);
my $loanlength = getLoanLength($borrower->{'categorycode'},$iteminformation->{'itemtype'},$borrower->{'branchcode'});
$datedue = UnixDate(DateCalc($iteminformation->{date_due},"$loanlength days"),"%Y-%m-%d");
$datedue = UnixDate(DateCalc("today","$loanlength days"),"%Y-%m-%d");
}
# Find the issues record for this book