X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/870e380d3248baa87148a6316977b69c8c4b17c4..55e9890a:/bin/mozilla/gl.pl
diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl
index db4196e4a..4b34a5080 100644
--- a/bin/mozilla/gl.pl
+++ b/bin/mozilla/gl.pl
@@ -46,10 +46,6 @@ require "bin/mozilla/reportgenerator.pl";
use strict;
-1;
-
-# end of main
-
# this is for our long dates
# $locale->text('January')
# $locale->text('February')
@@ -114,13 +110,13 @@ sub add {
# departments
$form->all_departments(\%myconfig);
- if (@{ $form->{all_departments} }) {
+ if (@{ $form->{all_departments} || [] }) {
$form->{selectdepartment} = "