summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-22 20:29:16 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-22 20:29:16 +0000
commit27b2c2caf5ea455663253189c797bbbf4ab0807f (patch)
treebb984202a6eb2cf5611f60eebc4d1f66cc441344 /LedgerSMB
parent7a3fecc9998b03b6d463cea508cee7824942589b (diff)
Corrected missing commit on draft deletion
Corrected inadequate cleanup on draft deletion git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2377 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/DBObject/Draft.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/DBObject/Draft.pm b/LedgerSMB/DBObject/Draft.pm
index b57bd238..1cfe16b4 100644
--- a/LedgerSMB/DBObject/Draft.pm
+++ b/LedgerSMB/DBObject/Draft.pm
@@ -24,6 +24,7 @@ sub delete {
$self->error($self->{_locale}->text('No ID Set'));
}
($self->{deleted}) = $self->exec_method(funcname => 'draft_delete');
+ $self->{dbh}->commit;
return $self->{deleted};
}