X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/d527be3a4b43f028f39d35d1d8f5a34709a37c91..cd32c5e983a98a515c0049422db858f2c13c4d7a:/bin/mozilla/oe.pl diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index b4760b284..0760f4afa 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -140,7 +140,7 @@ sub order_links { # if multiple rowcounts (== collective order) then check if the # there were more than one customer (in that case OE::retrieve removes # the content from the field) - if ($form->{rowcount} && $form->{type} eq 'sales_order' && $form->{customer} eq '') { + if ($form->{rowcount} && $form->{type} eq 'sales_order' && defined $form->{customer} && $form->{customer} eq '') { # $main::lxdebug->message(0, "Detected Edit order with concurrent customers"); $form->error($locale->text('Collective Orders only work for orders from one customer!')); }