X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2cd68ea4e2c4f1ee6a6282500bc26ee40e2b52c8..1b3ad7949687a373d832e0447f772e86363525f5:/SL/Form.pm diff --git a/SL/Form.pm b/SL/Form.pm index 024cd96d8..f313999c3 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -846,8 +846,8 @@ sub _prepare_html_template { $additional_params->{"conf_payments_changeable"} = $::lx_office_conf{features}->{payments_changeable}; $additional_params->{"INSTANCE_CONF"} = $::instance_conf; - if (%main::debug_options) { - map { $additional_params->{'DEBUG_' . uc($_)} = $main::debug_options{$_} } keys %main::debug_options; + if (my $debug_options = $::lx_office_conf{debug}{options}) { + map { $additional_params->{'DEBUG_' . uc($_)} = $debug_options->{$_} } keys %$debug_options; } if ($main::auth && $main::auth->{RIGHTS} && $main::auth->{RIGHTS}->{$self->{login}}) {