Revision e2b9e173
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
bin/mozilla/cp.pl | ||
---|---|---|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
# departments |
77 |
if (@{ $form->{all_departments} }) { |
|
77 |
if (@{ $form->{all_departments} || [] }) {
|
|
78 | 78 |
$form->{selectdepartment} = "<option>\n"; |
79 | 79 |
$form->{department} = "$form->{department}--$form->{department_id}"; |
80 | 80 |
|
81 | 81 |
map { |
82 | 82 |
$form->{selectdepartment} .= |
83 | 83 |
"<option>$_->{description}--$_->{id}\n" |
84 |
} (@{ $form->{all_departments} }); |
|
84 |
} (@{ $form->{all_departments} || [] });
|
|
85 | 85 |
} |
86 | 86 |
|
87 | 87 |
CP->paymentaccounts(\%myconfig, \%$form); |
Auch abrufbar als: Unified diff
Alle Vorkommen von all_departments abgesichert.