X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=scripts%2Fspawn_oo.pl;h=26991f109cb137652d6a1cc2a1c0f86822a1f9e0;hb=829f6742c99fdf3b3ef78713c3ce1c1266f67d98;hp=058de34747b1f61c67cfafee10bf87be2221dd62;hpb=b179b8df8426376f1592c7fdc3e693ed564c2fc3;p=kivitendo-erp.git diff --git a/scripts/spawn_oo.pl b/scripts/spawn_oo.pl index 058de3474..26991f109 100755 --- a/scripts/spawn_oo.pl +++ b/scripts/spawn_oo.pl @@ -29,7 +29,7 @@ $form->{"script"} = "oe.pl"; $ENV{'HOME'} = getcwd() . "/$userspath"; -my $template = OpenDocumentTemplate->new("", $form, \%myconfig, $userspath); +my $template = SL::Template::create(type => 'OpenDocument', file_name => '', form => $form, myconfig => \%myconfig, userspath => $userspath); if (@ARGV && ($ARGV[0] eq "-r")) { system("ps auxww | " .