X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ebdc6e1374df06c55e623a8aa631d3c01bf082a1..55e9890a:/bin/mozilla/ar.pl
diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl
index 88c0aefc9..2094ead3a 100644
--- a/bin/mozilla/ar.pl
+++ b/bin/mozilla/ar.pl
@@ -48,10 +48,6 @@ require "bin/mozilla/reportgenerator.pl";
use strict;
#use warnings;
-1;
-
-# end of main
-
# this is for our long dates
# $locale->text('January')
# $locale->text('February')
@@ -177,30 +173,30 @@ sub create_links {
map { $form->{selectcurrency} .= "\n";
map {
$form->{selectdepartment} .=
"$_->{description}--$_->{id}\n"
- } (@{ $form->{all_departments} });
+ } (@{ $form->{all_departments} || [] });
}
$department = qq|
@@ -1753,3 +1749,5 @@ sub storno {
$main::lxdebug->leave_sub();
}
+
+1;