X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/11461ccecbd3b4f054f52f979c26145642539e8c..55e9890a:/bin/mozilla/rp.pl diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 62abf6683..5099c8995 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -52,10 +52,6 @@ require "bin/mozilla/reportgenerator.pl"; # should there be any missing vars, declare them globally use strict; -1; - -# end of main - # this is for our long dates # $locale->text('January') # $locale->text('February') @@ -158,9 +154,9 @@ sub report { # get departments $form->all_departments(\%myconfig); - if (@{ $form->{all_departments} }) { + if (@{ $form->{all_departments} || [] }) { $form->{selectdepartment} = "