summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-27 15:14:50 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-27 15:14:50 +0000
commitd0c9ca2b57de7935de8ef3e9a51242ba4d03907d (patch)
tree90027aa5aea7af439d806c126f23c21529694c8b /LedgerSMB
parentd5f47b71c6bccbd13a95e97019f64f6bccd4dc1f (diff)
Fixing bind error in IS.pm re: Charlie Ambrose's email
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1111 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/IS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm
index c192c255..97f894e4 100755
--- a/LedgerSMB/IS.pm
+++ b/LedgerSMB/IS.pm
@@ -1022,7 +1022,7 @@ sub post_invoice {
FROM parts p
JOIN assembly a
ON (a.parts_id = p.id)
- WHERE a.id = $form->{"id_$i"}
+ WHERE a.id = ?
GROUP BY p.assembly|;
$sth = $dbh->prepare($query);
$sth->execute( $form->{"id_$i"} )