summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-08 18:48:12 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-08 18:48:12 +0000
commit4cae09441e6475108292b82bafc44b0f5166d42a (patch)
treecb4a5a1f511d9f218e65d15e210088a9686c8577
parentf35d614e7878af072490b65644c7fcbf2f86af20 (diff)
Fixing IS.pm query parameter problem
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1040 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--Changelog5
-rwxr-xr-xLedgerSMB/IS.pm2
2 files changed, 1 insertions, 6 deletions
diff --git a/Changelog b/Changelog
index cb9027de..7f5814ed 100644
--- a/Changelog
+++ b/Changelog
@@ -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:
diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm
index f67fc5e5..5ed3996d 100755
--- a/LedgerSMB/IS.pm
+++ b/LedgerSMB/IS.pm
@@ -1679,7 +1679,7 @@ sub delete_invoice {
# 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);