X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FOE.pm;h=8b073b9c58c9c288a421e238d68ddffca67f5246;hb=313c7c4d7422770b3f28ce0b5d51f867472e1fce;hp=b6f653aed13d967ed37242f55a2f81c8f18831bf;hpb=2ea1a379cc2e8992077a8a6f6e413952d1e32bfd;p=kivitendo-erp.git 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"); }