X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/81b492ac44ad8fc5207a9072039b972fb954c4dd..b6213d3539ccd179cd1f21b9afc54b8de8970774:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index b6f653aed..8b073b9c5 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -609,10 +609,10 @@ sub save { $form->{ordtotal} = $amount; - # add shipto $form->{name} = $form->{ $form->{vc} }; $form->{name} =~ s/--\Q$form->{"$form->{vc}_id"}\E//; + # add shipto if (!$form->{shipto_id}) { $form->add_shipto($dbh, $form->{id}, "OE"); }