[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [711] branches/1.2/LedgerSMB/GL.pm
- Subject: SF.net SVN: ledger-smb: [711] branches/1.2/LedgerSMB/GL.pm
- From: ..hidden..
- Date: Thu, 30 Nov 2006 13:49:47 -0800
Revision: 711
http://svn.sourceforge.net/ledger-smb/?rev=711&view=rev
Author: tetragon
Date: 2006-11-30 13:49:46 -0800 (Thu, 30 Nov 2006)
Log Message:
-----------
Fix posting query
Modified Paths:
--------------
branches/1.2/LedgerSMB/GL.pm
Modified: branches/1.2/LedgerSMB/GL.pm
===================================================================
--- branches/1.2/LedgerSMB/GL.pm 2006-11-30 20:15:02 UTC (rev 710)
+++ branches/1.2/LedgerSMB/GL.pm 2006-11-30 21:49:46 UTC (rev 711)
@@ -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.