projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
single-dbh: Fehler in Transaktionen immer weiterwerfen
[kivitendo-erp.git]
/
SL
/
AP.pm
diff --git
a/SL/AP.pm
b/SL/AP.pm
index
ae75dc9
..
6de1b15
100644
(file)
--- a/
SL/AP.pm
+++ b/
SL/AP.pm
@@
-403,7
+403,8
@@
sub delete_transaction {
SL::DB->client->with_transaction(sub {
my $query = qq|DELETE FROM ap WHERE id = ?|;
do_query($form, SL::DB->client->dbh, $query, $form->{id});
- });
+ 1;
+ }) or do { die SL::DB->client->error };
$main::lxdebug->leave_sub();