X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/870e380d3248baa87148a6316977b69c8c4b17c4..1d6ec050bf49badaa6d165dac433f5e7cbdd35c0:/bin/mozilla/gl.pl diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index db4196e4a..5834a485f 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} = "