[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1208] branches/1.2/LedgerSMB/Form.pm
- Subject: SF.net SVN: ledger-smb: [1208] branches/1.2/LedgerSMB/Form.pm
- From: ..hidden..
- Date: Fri, 18 May 2007 10:22:02 -0700
Revision: 1208
http://svn.sourceforge.net/ledger-smb/?rev=1208&view=rev
Author: einhverfr
Date: 2007-05-18 10:22:01 -0700 (Fri, 18 May 2007)
Log Message:
-----------
Fixing customer_id not found error
Modified Paths:
--------------
branches/1.2/LedgerSMB/Form.pm
Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm 2007-05-18 13:08:10 UTC (rev 1207)
+++ branches/1.2/LedgerSMB/Form.pm 2007-05-18 17:22:01 UTC (rev 1208)
@@ -2416,7 +2416,7 @@
ct.notes,
ct.curr AS currency
FROM $vc ct
- WHERE ct.id = (select customer_id from $arap where $where AND ${vc}_id IS NOT NULL order by id DESC limit 1)|;
+ WHERE ct.id = (select ${vc}_id from $arap where $where AND ${vc}_id IS NOT NULL order by id DESC limit 1)|;
$sth = $dbh->prepare($query);
$sth->execute() || $self->dberror($query);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.