Revision f6158a03
Von Jan Büren vor mehr als 8 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
888 | 888 |
$form->{old_employee_id} = $form->{employee_id}; |
889 | 889 |
$form->{old_salesman_id} = $form->{salesman_id}; |
890 | 890 |
|
891 |
map { delete $form->{$_} } qw(id printed emailed queued);
|
|
891 |
delete $form->{$_} foreach (qw(printed emailed queued));
|
|
892 | 892 |
my $buysell; |
893 | 893 |
if ($form->{script} eq 'ir.pl' || $form->{type} eq 'request_quotation') { |
894 | 894 |
$form->{title} = $locale->text('Add Purchase Order'); |
... | ... | |
954 | 954 |
if ($form->{second_run}) { |
955 | 955 |
$form->{print_and_post} = 0; |
956 | 956 |
} |
957 |
map { delete $form->{$_} } qw(id printed emailed queued);
|
|
957 |
delete $form->{$_} foreach (qw(printed emailed queued));
|
|
958 | 958 |
|
959 | 959 |
my $buysell; |
960 | 960 |
if ($form->{script} eq 'ir.pl' || $form->{type} eq 'purchase_order') { |
Auch abrufbar als: Unified diff
Kosmetik/Lesbarkeit
Ein klares delete statt ein kompliziertes map mit delete.