[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [712] trunk/LedgerSMB/GL.pm
- Subject: SF.net SVN: ledger-smb: [712] trunk/LedgerSMB/GL.pm
- From: ..hidden..
- Date: Thu, 30 Nov 2006 13:50:34 -0800
Revision: 712
http://svn.sourceforge.net/ledger-smb/?rev=712&view=rev
Author: tetragon
Date: 2006-11-30 13:50:34 -0800 (Thu, 30 Nov 2006)
Log Message:
-----------
Fix posting query
Modified Paths:
--------------
trunk/LedgerSMB/GL.pm
Modified: trunk/LedgerSMB/GL.pm
===================================================================
--- trunk/LedgerSMB/GL.pm 2006-11-30 21:49:46 UTC (rev 711)
+++ trunk/LedgerSMB/GL.pm 2006-11-30 21:50:34 UTC (rev 712)
@@ -127,9 +127,9 @@
SET reference = |.$dbh->quote($form->{reference}).qq|,
description = |.$dbh->quote($form->{description}).qq|,
notes = |.$dbh->quote($form->{notes}).qq|,
- transdate = '$form->{transdate}',
- department_id = $department_id
- WHERE id = $form->{id}|;
+ transdate = ?,
+ department_id = ?
+ WHERE id = ?|;
$dbh->prepare($query);
$sth->execute($form->{transdate}, $department_id, $form->{id})
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.