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

SF.net SVN: ledger-smb: [1040] branches/1.2



Revision: 1040
          http://svn.sourceforge.net/ledger-smb/?rev=1040&view=rev
Author:   einhverfr
Date:     2007-04-08 11:48:12 -0700 (Sun, 08 Apr 2007)

Log Message:
-----------
Fixing IS.pm query parameter problem

Modified Paths:
--------------
    branches/1.2/Changelog
    branches/1.2/LedgerSMB/IS.pm

Modified: branches/1.2/Changelog
===================================================================
--- branches/1.2/Changelog	2007-04-07 04:26:19 UTC (rev 1039)
+++ branches/1.2/Changelog	2007-04-08 18:48:12 UTC (rev 1040)
@@ -1,8 +1,3 @@
-Since last Release Candidate:
-* A few bind variable errors have been corrected.
-* ledger-smb.conf is now ledgersmb.conf
-* Database schema information added to doc/database
-
 Changelog for LedgerSMB 1.2.0
 
 Database:

Modified: branches/1.2/LedgerSMB/IS.pm
===================================================================
--- branches/1.2/LedgerSMB/IS.pm	2007-04-07 04:26:19 UTC (rev 1039)
+++ branches/1.2/LedgerSMB/IS.pm	2007-04-08 18:48:12 UTC (rev 1040)
@@ -1679,7 +1679,7 @@
 	# delete spool files
 	$query = qq|
 		SELECT spoolfile FROM status
-		 WHERE trans_id = $form->{id} AND spoolfile IS NOT NULL|;
+		 WHERE trans_id = ? AND spoolfile IS NOT NULL|;
 	$sth = $dbh->prepare($query);
 	$sth->execute($form->{id}) || $form->dberror($query);
 


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