]> wagnertech.de Git - mfinanz.git/blobdiff - SL/GL.pm
Mehr als eine SelfTest-Modul prüfen
[mfinanz.git] / SL / GL.pm
index 1d3065c2a3ccd6a0476824f404e28726bfe68edc..20d469a63eb6c423b55e14ab122c2a80adb82c0c 100644 (file)
--- a/SL/GL.pm
+++ b/SL/GL.pm
@@ -25,7 +25,8 @@
 # GNU General Public License for more details.
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1335, USA.
 #======================================================================
 #
 # General ledger backend code
@@ -50,7 +51,7 @@ sub delete_transaction {
   my ($self, $myconfig, $form) = @_;
   $main::lxdebug->enter_sub();
 
-  SL::DB->with_transaction(sub {
+  SL::DB->client->with_transaction(sub {
     do_query($form, SL::DB->client->dbh, qq|DELETE FROM gl WHERE id = ?|, conv_i($form->{id}));
     1;
   }) or do { die SL::DB->client->error };