X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/7e57b1fe0c1e3d865402b521bf8844b9cae88757..bde667c235b2347bdd1322f118b032a2f0d93367:/bin/mozilla/common.pl diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 86f797bb5..1c4719aaf 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -38,7 +38,8 @@ sub restore_form { $old_form =~ s|!r|\r|g; $old_form =~ s|!n|\n|g; $old_form =~ s|!!|!|g; - $form = YAML::Load($old_form); + my $new_form = YAML::Load($old_form); + map({ $form->{$_} = $new_form->{$_}; } keys(%{$new_form})); $lxdebug->leave_sub(); }