X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/11461ccecbd3b4f054f52f979c26145642539e8c..c8c6d6d:/bin/mozilla/rp.pl diff --git a/bin/mozilla/rp.pl b/bin/mozilla/rp.pl index 62abf6683..663a20ebc 100644 --- a/bin/mozilla/rp.pl +++ b/bin/mozilla/rp.pl @@ -14,8 +14,8 @@ # # Contributors: Antonio Gallardo # Benjamin Lee -# Philip Reetz -# Udo Spallek +# Philip Reetz +# Udo Spallek # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -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,16 +154,16 @@ sub report { # get departments $form->all_departments(\%myconfig); - if (@{ $form->{all_departments} }) { + if (@{ $form->{all_departments} || [] }) { $form->{selectdepartment} = "