From c25716f8e96b948bba33b880257191b7fab9fc5d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 21 Nov 2012 15:43:48 +0100 Subject: [PATCH] Kosmetik/Refactoring --- bin/mozilla/is.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 47e713167..c6c2bfe34 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -807,7 +807,7 @@ sub use_as_template { $main::auth->assert('invoice_edit'); - map { delete $form->{$_} } qw(printed emailed queued invnumber invdate deliverydate id datepaid_1 gldate_1 acc_trans_id_1 source_1 memo_1 paid_1 exchangerate_1 AP_paid_1 storno locked); + delete @{ $form }{qw(printed emailed queued invnumber invdate deliverydate id datepaid_1 gldate_1 acc_trans_id_1 source_1 memo_1 paid_1 exchangerate_1 AP_paid_1 storno locked)}; $form->{paidaccounts} = 1; $form->{rowcount}--; $form->{invdate} = $form->current_date(\%myconfig); -- 2.20.1