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

SF.net SVN: ledger-smb: [731] branches/1.2/LedgerSMB/GL.pm



Revision: 731
          http://svn.sourceforge.net/ledger-smb/?rev=731&view=rev
Author:   einhverfr
Date:     2006-12-05 20:15:54 -0800 (Tue, 05 Dec 2006)

Log Message:
-----------
Fixing gl bind argument issue

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

Modified: branches/1.2/LedgerSMB/GL.pm
===================================================================
--- branches/1.2/LedgerSMB/GL.pm	2006-12-05 23:57:15 UTC (rev 730)
+++ branches/1.2/LedgerSMB/GL.pm	2006-12-06 04:15:54 UTC (rev 731)
@@ -131,7 +131,7 @@
 		      department_id = ?
 		WHERE id = ?|;
 
-	$dbh->prepare($query);
+	$sth = $dbh->prepare($query);
 	$sth->execute($form->{transdate}, $department_id, $form->{id}) 
 		|| $form->dberror($query);
 


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