summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-02 06:31:13 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-02 06:31:13 +0000
commitc783f4b3f02adf14a24c68101c0e14567847ef42 (patch)
tree45f15e437a49fdf27dfd77e01e3ee6b89f51d070
parentb66cfc9fa6a4bf832ec495c7b598f00864f5f2e1 (diff)
Correcting bug 1750895: Purchase order generation does not populate quantities
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1499 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/OE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm
index fdb383ec..08d3bac8 100755
--- a/LedgerSMB/OE.pm
+++ b/LedgerSMB/OE.pm
@@ -2398,7 +2398,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);