X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/70ac51198ef165b6d6aae2dbd8661a2f14523241..7ecc9c39ec53104441b68ba802e356785d8ca199:/SL/CVar.pm diff --git a/SL/CVar.pm b/SL/CVar.pm index 1b83121bf..49e378666 100644 --- a/SL/CVar.pm +++ b/SL/CVar.pm @@ -357,7 +357,7 @@ sub save_custom_variables { $sth->finish(); - $dbh->commit(); + $dbh->commit() unless $params{dbh}; $main::lxdebug->leave_sub(); } @@ -658,7 +658,7 @@ sub save_custom_variables_validity { $sth->finish(); - $dbh->commit(); + $dbh->commit() unless $params{dbh}; $main::lxdebug->leave_sub(); }