summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);