X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcp.pl;h=f4a9efb20eeb337b2185ee27672a372d3a5c7770;hb=dbd0ae115bd9a6ba0ede24f9655a29df6bf7dc3b;hp=195a05153b7448cc0c72dfdaa2333a7b30b3aab7;hpb=275dbec9c8aedbf54e0aaeb7f12710306df44579;p=kivitendo-erp.git diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 195a05153..f4a9efb20 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -32,7 +32,6 @@ #====================================================================== use SL::CP; -use SL::OP; use SL::IS; use SL::IR; @@ -74,14 +73,14 @@ sub payment { } # departments - if (@{ $form->{all_departments} }) { + if (@{ $form->{all_departments} || [] }) { $form->{selectdepartment} = "