[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1854] trunk/LedgerSMB/OE.pm
- Subject: SF.net SVN: ledger-smb: [1854] trunk/LedgerSMB/OE.pm
- From: ..hidden..
- Date: Mon, 05 Nov 2007 11:15:49 -0800
Revision: 1854
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1854&view=rev
Author: tetragon
Date: 2007-11-05 11:15:49 -0800 (Mon, 05 Nov 2007)
Log Message:
-----------
Add $parts_id to query in add_items_required
Modified Paths:
--------------
trunk/LedgerSMB/OE.pm
Modified: trunk/LedgerSMB/OE.pm
===================================================================
--- trunk/LedgerSMB/OE.pm 2007-11-05 19:14:39 UTC (rev 1853)
+++ trunk/LedgerSMB/OE.pm 2007-11-05 19:15:49 UTC (rev 1854)
@@ -2207,7 +2207,7 @@
JOIN parts p ON (p.id = a.parts_id)
WHERE a.id = ?|;
$sth = $dbh->prepare($query);
- $sth->execute || $form->dberror($query);
+ $sth->execute($parts_id) || $form->dberror($query);
while ( $ref = $sth->fetchrow_hashref(NAME_lc) ) {
$form->db_parse_numeric(sth=> $sth, hashref=> $ref);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.