X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fgl.pl;h=4b34a5080690a3205842396ad9065b7919047cb4;hb=1f110e87bcff32f06ba76d8d4fae5e851d094e94;hp=db4196e4ae985879b51d6a6e12cc623f50ae088a;hpb=870e380d3248baa87148a6316977b69c8c4b17c4;p=kivitendo-erp.git
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} = "