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

SF.net SVN: ledger-smb: [760] trunk/LedgerSMB/AM.pm



Revision: 760
          http://svn.sourceforge.net/ledger-smb/?rev=760&view=rev
Author:   einhverfr
Date:     2007-01-22 11:21:31 -0800 (Mon, 22 Jan 2007)

Log Message:
-----------
Fixing bug 1625108

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

Modified: trunk/LedgerSMB/AM.pm
===================================================================
--- trunk/LedgerSMB/AM.pm	2007-01-22 19:19:07 UTC (rev 759)
+++ trunk/LedgerSMB/AM.pm	2007-01-22 19:21:31 UTC (rev 760)
@@ -258,7 +258,7 @@
 		 WHERE inventory_accno_id = ?|;
 
 	$sth = $dbh->prepare($query);
-	$dbh->execute($form->{id}) || $form->dberror($query);
+	$sth->execute($form->{id}) || $form->dberror($query);
 
 	for (qw(income_accno_id expense_accno_id)){
 		$query = qq|


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