]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/ir.pl
Alle Vorkommen von all_departments abgesichert.
[mfinanz.git] / bin / mozilla / ir.pl
index d848abc64f2a9c54cb57fe5215a91f7c91a63a7c..c599c832510c905ffc83e4e34be8de885a023ae0 100644 (file)
@@ -153,7 +153,7 @@ sub invoice_links {
     map {
       $form->{selectdepartment} .=
         "<option>$_->{description}--$_->{id}\n"
-    } (@{ $form->{all_departments} });
+    } (@{ $form->{all_departments} || [] });
   }
 
   # forex