diff options
-rw-r--r-- | Changelog | 5 | ||||
-rwxr-xr-x | LedgerSMB/IS.pm | 2 |
2 files changed, 1 insertions, 6 deletions
@@ -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); |