X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/57eb13371bb3387afbef6ffa4cb71dd9d9f9e33e..545d8542873ac7cb75ed71771a1bd384fe57bfe2:/bin/mozilla/cp.pl diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index d341ffdfc..1fa5d34c6 100644 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -32,10 +32,8 @@ #====================================================================== use SL::CP; -use SL::OP; use SL::IS; use SL::IR; - use strict ("vars", "subs"); #use warnings; @@ -50,7 +48,6 @@ our ($form, %myconfig, $lxdebug, $locale, $auth); sub payment { $lxdebug->enter_sub(); - $auth->assert('cash'); my (@curr); @@ -74,18 +71,17 @@ sub payment { } # departments - if (@{ $form->{all_departments} }) { + if (@{ $form->{all_departments} || [] }) { $form->{selectdepartment} = "