From b54e817db78d0f178ea1a339a5fdd1e4281db421 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 21 Jun 2007 06:18:56 +0000 Subject: [PATCH] =?utf8?q?Wenn=20ein=20Hash=20namens=20%main::debug=5Fopti?= =?utf8?q?ons=20existiert,=20dann=20werden=20all=20seine=20Variablen=20'ke?= =?utf8?q?y'=20in=20HTML-Vorlagen=20als=20DEBUG=5FKEY=20zur=20Verf=C3=BCgu?= =?utf8?q?ng=20gestellt.=20Wird=20bisher=20nur=20bei=20Mahnungsvorlagen=20?= =?utf8?q?benutzt.=20Und=20ist=20nur=20f=C3=BCr=20Entwickler=20gedacht.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Form.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SL/Form.pm b/SL/Form.pm index 7fc4456f9..9bfb94554 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -532,6 +532,10 @@ sub _prepare_html_template { $additional_params->{"conf_latex_templates"} = $main::latex; $additional_params->{"conf_opendocument_templates"} = $main::opendocument_templates; + if (%main::debug_options) { + map { $additional_params->{'DEBUG_' . uc($_)} = $main::debug_options{$_} } keys %main::debug_options; + } + $main::lxdebug->leave_sub(); return $file; -- 2.20.1