summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-02 06:31:25 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-02 06:31:25 +0000
commite306c45c3515c825e35cdac87ebfa04bb088795f (patch)
treeb68bdf5fe8be656e026ac0a3563ac7fbff211ef7
parentd239fc407930f288e3a30556ded9896b16d8b492 (diff)
Correcting bug 1750895: Purchase order generation does not populate quantities
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1500 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--LedgerSMB/OE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm
index 2ba55866..c296ef30 100644
--- a/LedgerSMB/OE.pm
+++ b/LedgerSMB/OE.pm
@@ -2394,7 +2394,7 @@ sub generate_orders {
(?, ?, ?, ?, 0, ?, ?)|;
$sth = $dbh->prepare($query);
$sth->execute( $id, $parts_id, $description,
- $a{vendor_id}{parts_id}{qty},
+ $a{$vendor_id}{$parts_id}{qty},
$sellprice, $unit )
|| $form->dberror($query);