Merge remote branch 'origin/new/bug_8770'

This commit is contained in:
Galen Charlton 2013-04-07 20:16:51 -07:00
commit 596f7a740e
1 changed files with 1 additions and 1 deletions

View File

@ -2171,7 +2171,7 @@ sub _FixAccountForLostAndReturned {
# FIXME: move prepares outside while loop!
my $usth = $dbh->prepare("UPDATE accountlines SET amountoutstanding= ?
WHERE (accountlines_id = ?)");
$usth->execute($newamtos,'$thisacct'); # FIXME: '$thisacct' is a string literal!
$usth->execute($newamtos,$thisacct);
$usth = $dbh->prepare("INSERT INTO accountoffsets
(borrowernumber, accountno, offsetaccount, offsetamount)
VALUES