summaryrefslogtreecommitdiff
path: root/LedgerSMB/AM.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/AM.pm')
-rwxr-xr-xLedgerSMB/AM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm
index 23f5658b..ab8db7fa 100755
--- a/LedgerSMB/AM.pm
+++ b/LedgerSMB/AM.pm
@@ -258,7 +258,7 @@ sub delete_account {
WHERE inventory_accno_id = ?|;
$sth = $dbh->prepare($query);
- $dbh->execute($form->{id}) || $form->dberror($query);
+ $sth->execute($form->{id}) || $form->dberror($query);
for (qw(income_accno_id expense_accno_id)){
$query = qq|