projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Analog zu Commit fce441db auch die Einkaufsrechnungen fixen.
[kivitendo-erp.git]
/
bin
/
mozilla
/
ca.pl
diff --git
a/bin/mozilla/ca.pl
b/bin/mozilla/ca.pl
index
66a6a6a
..
b35b664
100644
(file)
--- a/
bin/mozilla/ca.pl
+++ b/
bin/mozilla/ca.pl
@@
-161,13
+161,13
@@
sub list {
# get departments
$form->all_departments(\%myconfig);
# get departments
$form->all_departments(\%myconfig);
- if (@{ $form->{all_departments} }) {
+ if (@{ $form->{all_departments}
|| []
}) {
$form->{selectdepartment} = "<option>\n";
map {
$form->{selectdepartment} .=
"<option>$_->{description}--$_->{id}\n"
$form->{selectdepartment} = "<option>\n";
map {
$form->{selectdepartment} .=
"<option>$_->{description}--$_->{id}\n"
- } (@{ $form->{all_departments} });
+ } (@{ $form->{all_departments}
|| []
});
}
my $department = qq|
}
my $department = qq|