From 927673c0f5fc3559f531e64c9acbc0f5166b9847 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Sat, 12 Aug 2017 17:29:35 +0200 Subject: [PATCH] code cleaning: debug statements vergessen zu entfernen --- bin/mozilla/gl.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index ef7352d2f..6dfa457cd 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -49,7 +49,6 @@ use SL::DBUtils qw(selectrow_query selectall_hashref_query); use SL::Webdav; use SL::Locale::String qw(t8); use SL::Helper::GlAttachments qw(count_gl_attachments); -use Carp; require "bin/mozilla/common.pl"; require "bin/mozilla/reportgenerator.pl"; @@ -95,7 +94,7 @@ sub load_record_template { $template->substitute_variables; my $payment_suggestion = $::form->{form_defaults}->{amount_1}; - # croak ("hier" . $payment_suggestion); + # Clean the current $::form before rebuilding it from the template. my $form_defaults = delete $::form->{form_defaults}; delete @{ $::form }{ grep { !m{^(?:script|login)$}i } keys %{ $::form } }; -- 2.20.1