]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/rp.pl
Änderungen zum vorherigen Commit, um die Funktionen rouster zu machen.
[mfinanz.git] / bin / mozilla / rp.pl
index 25c8bcc4ebfa33bec2a6c3b0ef91e1bb4fae7a2f..5099c899551d9d1171fd3fad1b3dfba6f841674b 100644 (file)
@@ -156,7 +156,7 @@ sub report {
   $form->all_departments(\%myconfig);
   if (@{ $form->{all_departments} || [] }) {
     $form->{selectdepartment} = "<option>\n";
-    map { $form->{selectdepartment} .= "<option>$_->{description}--$_->{id}\n" } @{ $form->{all_departments} };
+    map { $form->{selectdepartment} .= "<option>$_->{description}--$_->{id}\n" } @{ $form->{all_departments} || [] };
   }
 
   my $department = qq|