summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 19:21:31 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-01-22 19:21:31 +0000
commit7411a08d9c4693cf8e28093338533f3469bbf566 (patch)
treee859b005e726bc51388a94ce7750b535039c2793
parenta8d9e9b654c06386ac6bba4f4dfcdd5bd3713d7e (diff)
Fixing bug 1625108
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@760 4979c152-3d1c-0410-bac9-87ea11338e46
-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|