]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/ar.pl
all_customers kann leer sein, wenn vclimit kleiner ist als die anzahl der kunden
[kivitendo-erp.git] / bin / mozilla / ar.pl
index a8937506f6356b0626e3ad20e142f39ee57b9aff..a285f52380bdf504d10b49f52904bb2a487cc707 100644 (file)
@@ -1269,7 +1269,7 @@ sub search {
   # setup customer selection
   $form->all_vc(\%myconfig, "customer", "AR");
 
-  if (@{ $form->{all_customer} }) {
+  if (@{ $form->{all_customer} || [] }) {
     map { $customer .= "<option>$_->{name}--$_->{id}\n" }
       @{ $form->{all_customer} };
     $customer = qq|<select name=customer><option>\n$customer</select>|;