From 2c7343b60014bff43b22bafdfc6b95a8e066894e Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 22 Jan 2007 19:23:11 +0000 Subject: Fixing bug 1625108 git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@761 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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| -- cgit v1.2.3