Skip to content

Commit

Permalink
Fix order printing overwriting the output format
Browse files Browse the repository at this point in the history
Fixes #7378
  • Loading branch information
ehuelsmann committed Jul 27, 2023
1 parent 0b880b6 commit 1a74bc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions old/bin/oe.pl
Expand Up @@ -167,9 +167,9 @@ sub order_links {

sub prepare_order {
my %args = @_;
$form->{format} = "postscript" if $myconfig{printer};
$form->{media} = $myconfig{printer};
$form->{formname} = $form->{type};
$form->{format} //= "postscript" if $myconfig{printer};
$form->{media} //= $myconfig{printer};
$form->{formname} //= $form->{type};
$form->{sortby} ||= "runningnumber";
$form->{currency} =~ s/ //g;
$form->{oldcurrency} = $form->{currency};
Expand Down

0 comments on commit 1a74bc2

Please sign in to comment.