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

SF.net SVN: ledger-smb: [1582] branches/1.2/LedgerSMB/IR.pm



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

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

Modified Paths:
--------------
    branches/1.2/LedgerSMB/IR.pm

Modified: branches/1.2/LedgerSMB/IR.pm
===================================================================
--- branches/1.2/LedgerSMB/IR.pm	2007-09-13 13:40:43 UTC (rev 1581)
+++ branches/1.2/LedgerSMB/IR.pm	2007-09-13 17:05:28 UTC (rev 1582)
@@ -882,7 +882,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.