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

SF.net SVN: ledger-smb: [622] branches/1.2/LedgerSMB/PE.pm



Revision: 622
          http://svn.sourceforge.net/ledger-smb/?rev=622&view=rev
Author:   einhverfr
Date:     2006-11-14 23:01:12 -0800 (Tue, 14 Nov 2006)

Log Message:
-----------
Fixing pricegroup creation bug

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

Modified: branches/1.2/LedgerSMB/PE.pm
===================================================================
--- branches/1.2/LedgerSMB/PE.pm	2006-11-15 06:57:22 UTC (rev 621)
+++ branches/1.2/LedgerSMB/PE.pm	2006-11-15 07:01:12 UTC (rev 622)
@@ -1143,7 +1143,7 @@
 			INSERT INTO pricegroup (pricegroup)
 			VALUES (?)|;
 	}
-	$sth = $dbh->do($query);
+	$sth = $dbh->prepare($query);
 	$sth->execute($form->{pricegroup}) || $form->dberror($query);
   
 	$dbh->commit;


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