From: Jan Büren Date: Sat, 12 Aug 2017 15:29:35 +0000 (+0200) Subject: code cleaning: debug statements vergessen zu entfernen X-Git-Tag: release-3.5.4~890 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=927673c0f5fc3559f531e64c9acbc0f5166b9847;p=kivitendo-erp.git code cleaning: debug statements vergessen zu entfernen --- 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 } };