[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1583] trunk/LedgerSMB/IR.pm



Revision: 1583
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1583&view=rev
Author:   tetragon
Date:     2007-09-13 10:06:15 -0700 (Thu, 13 Sep 2007)

Log Message:
-----------
Switch call from do to prepare

Modified Paths:
--------------
    trunk/LedgerSMB/IR.pm

Modified: trunk/LedgerSMB/IR.pm
===================================================================
--- trunk/LedgerSMB/IR.pm	2007-09-13 17:05:28 UTC (rev 1582)
+++ trunk/LedgerSMB/IR.pm	2007-09-13 17:06:15 UTC (rev 1583)
@@ -901,7 +901,7 @@
 						            amount, transdate, 
 						            project_id)
 						     VALUES (?, ?, ?, ?, ?)|;
-                    $sth = $dbh->do($query);
+                    $sth = $dbh->prepare($query);
                     $sth->execute(
                         $pthref->{trans_id},
                         $ref->{inventory_accno_id},


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.