X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/075bd42af8885aee3c18fe055a2c82b8b43f4cea..619f90d13871b82942b44ea7f1b7acbe2e72ae99:/bin/mozilla/drafts.pl diff --git a/bin/mozilla/drafts.pl b/bin/mozilla/drafts.pl index cac7bea36..83cf6be90 100644 --- a/bin/mozilla/drafts.pl +++ b/bin/mozilla/drafts.pl @@ -120,7 +120,7 @@ sub load_draft { if ($old_form) { $old_form = YAML::Load($old_form); - my %dont_save_vars = map { $_ => 1 } @Drafts::dont_save; + my %dont_save_vars = map { $_ => 1 } Drafts->dont_save; my @restore_vars = grep { !$dont_save_vars{$_} } keys %{ $old_form }; @{$form}{@restore_vars} = @{$old_form}{@restore_vars};