From: Jan Büren Date: Wed, 23 Sep 2015 14:08:32 +0000 (+0200) Subject: Datev Checks standardmässig ein für neue Datenbanken ( > 2.7) X-Git-Tag: release-3.4.1~714 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4768389d068d5be5dde9bd7d0ce5ee43d1b4811f;p=kivitendo-erp.git Datev Checks standardmässig ein für neue Datenbanken ( > 2.7) --- 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; }