From 4768389d068d5be5dde9bd7d0ce5ee43d1b4811f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 23 Sep 2015 16:08:32 +0200 Subject: [PATCH] =?utf8?q?Datev=20Checks=20standardm=C3=A4ssig=20ein=20f?= =?utf8?q?=C3=BCr=20neue=20Datenbanken=20(=20>=202.7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sql/Pg-upgrade2/defaults_datev_check.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/Pg-upgrade2/defaults_datev_check.pl b/sql/Pg-upgrade2/defaults_datev_check.pl index 175da4208..956bc810e 100644 --- a/sql/Pg-upgrade2/defaults_datev_check.pl +++ b/sql/Pg-upgrade2/defaults_datev_check.pl @@ -23,7 +23,7 @@ sub run { # if checks are not set in config set it to true foreach my $check (qw(check_on_sales_invoice check_on_purchase_invoice check_on_ar_transaction check_on_ap_transaction check_on_gl_transaction)) { my $check_set = 1; - if (!$::lx_office_conf{datev_check}->{$check}) { + if ($::lx_office_conf{datev_check}->{$check} == 0 && defined ($::lx_office_conf{datev_check}->{$check})) { $check_set = 0; } -- 2.20.1