diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-01-22 19:23:11 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-01-22 19:23:11 +0000 |
commit | 2c7343b60014bff43b22bafdfc6b95a8e066894e (patch) | |
tree | d38d3842f9ba939d4b188cfab7fc98e2358561ea | |
parent | adf1fe779f5e9ebea8295ac40dfb38ee0a396680 (diff) |
Fixing bug 1625108
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@761 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/AM.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm index b3050c05..6deefa72 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| |