From 975304c772762b6a029c21aab00f3f449ed5cdf5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 3 Apr 2017 11:27:55 +0200 Subject: [PATCH] DATEV: Warnungen: Uninitialisierte Variablen --- SL/DATEV.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SL/DATEV.pm b/SL/DATEV.pm index ea410aca3..bf96fa447 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -368,13 +368,15 @@ sub generate_datev_data { $main::lxdebug->enter_sub(); my ($self, %params) = @_; - my $fromto = $params{from_to}; + my $fromto = $params{from_to} // ''; my $progress_callback = $params{progress_callback} || sub {}; my $form = $main::form; my $trans_id_filter = ''; - my ($ar_department_id_filter, $ap_department_id_filter, $gl_department_id_filter); + my $ar_department_id_filter = ''; + my $ap_department_id_filter = ''; + my $gl_department_id_filter = ''; if ( $form->{department_id} ) { $ar_department_id_filter = " AND ar.department_id = ? "; $ap_department_id_filter = " AND ap.department_id = ? "; -- 2.20.1