X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcommon.pl;h=ff5cc7537e740f9ccd25adad6586469311579c85;hb=d25bd6ec1709f3c8ef07e1dab1f69469893ab6dc;hp=1c4719aaf82eba1c5a20904f9e607621709cfa51;hpb=bde667c235b2347bdd1322f118b032a2f0d93367;p=kivitendo-erp.git diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 1c4719aaf..ff5cc7537 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -17,9 +17,7 @@ use SL::Common; sub save_form { $lxdebug->enter_sub(); - my $yaml = new YAML; - $yaml->Indent(1); - my $old_form = $yaml->dump($form); + my $old_form = YAML::Dump($form); $old_form =~ s|!|!!|g; $old_form =~ s|\n|!n|g; $old_form =~ s|\r|!r|g;