all_vendor mit vclimit=0
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 5 Nov 2009 16:54:17 +0000 (17:54 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 5 Nov 2009 16:54:17 +0000 (17:54 +0100)
bin/mozilla/ap.pl

index 80680ef..49dc158 100644 (file)
@@ -163,7 +163,7 @@ sub create_links {
   map { $form->{selectcurrency} .= "<option>$_\n" } @curr;
 
   # vendors
-  if (@{ $form->{all_vendor} }) {
+  if (@{ $form->{all_vendor} || [] }) {
     $form->{vendor} = qq|$form->{vendor}--$form->{vendor_id}|;
     map { $form->{selectvendor} .= "<option>$_->{name}--$_->{id}\n" }
       (@{ $form->{all_vendor} });