[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [636] trunk/LedgerSMB/AM.pm
- Subject: SF.net SVN: ledger-smb: [636] trunk/LedgerSMB/AM.pm
- From: ..hidden..
- Date: Wed, 15 Nov 2006 17:24:09 -0800
Revision: 636
http://svn.sourceforge.net/ledger-smb/?rev=636&view=rev
Author: tetragon
Date: 2006-11-15 17:24:06 -0800 (Wed, 15 Nov 2006)
Log Message:
-----------
Fix DBI syntax in yearend posting
Modified Paths:
--------------
trunk/LedgerSMB/AM.pm
Modified: trunk/LedgerSMB/AM.pm
===================================================================
--- trunk/LedgerSMB/AM.pm 2006-11-16 01:22:55 UTC (rev 635)
+++ trunk/LedgerSMB/AM.pm 2006-11-16 01:24:06 UTC (rev 636)
@@ -1763,7 +1763,9 @@
FROM gl
WHERE reference = ?|;
- ($form->{id}) = $dbh->prepare($query)->fetchrow_array($uid);
+ my $sth = $dbh->prepare($query);
+ $sth->execute($uid);
+ ($form->{id}) = $sth->fetchrow_array;
$query = qq|
UPDATE gl
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.