From: Sven Schöling Date: Tue, 9 Aug 2016 09:07:33 +0000 (+0200) Subject: meerge: IO: single-dbh return X-Git-Tag: release-3.5.4~2084 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=297a3b70ef8499cf80a5c0a4b17185039fd6a208;p=kivitendo-erp.git meerge: IO: single-dbh return --- diff --git a/SL/IO.pm b/SL/IO.pm index 7e638b5ee..c0d6987f3 100644 --- a/SL/IO.pm +++ b/SL/IO.pm @@ -70,6 +70,8 @@ SQL # Erstelldatum, wenn keine Modifikation erfolgt ist (bei Stornos z.B.). do_query($form, $dbh, qq|UPDATE $table SET datepaid = COALESCE(mtime::date, itime::date) WHERE id = ?|, $id); } + + 1; }) or do { die SL::DB->client->error }; $main::lxdebug->leave_sub();