X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FBP.pm;h=f2d0201d7fe27aa0dab6568af6b30bfb74cae23d;hb=8084ef359515031ec8429b49baf0ab09858f55d2;hp=e2b7a2a0ddf448f8eca94a260290fa8e44f8dcd3;hpb=70081eba44edcef56e0344824b7feaa6d2035e77;p=kivitendo-erp.git diff --git a/SL/BP.pm b/SL/BP.pm index e2b7a2a0d..f2d0201d7 100644 --- a/SL/BP.pm +++ b/SL/BP.pm @@ -221,7 +221,9 @@ sub get_spoolfiles { sub delete_spool { $main::lxdebug->enter_sub(); - my ($self, $myconfig, $form, $spool) = @_; + my ($self, $myconfig, $form) = @_; + + my $spool = $::lx_office_conf{paths}->{spool}; # connect to database, turn AutoCommit off my $dbh = $form->dbconnect_noauto($myconfig); @@ -264,7 +266,9 @@ sub delete_spool { sub print_spool { $main::lxdebug->enter_sub(); - my ($self, $myconfig, $form, $spool, $output) = @_; + my ($self, $myconfig, $form, $output) = @_; + + my $spool = $::lx_office_conf{paths}->{spool}; # connect to database my $dbh = $form->dbconnect($myconfig);