projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b18c6
)
Datev Checks standardmässig ein für neue Datenbanken ( > 2.7)
author
Jan Büren
<jan@kivitendo-premium.de>
Wed, 23 Sep 2015 14:08:32 +0000
(16:08 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Wed, 23 Sep 2015 16:02:00 +0000
(18:02 +0200)
sql/Pg-upgrade2/defaults_datev_check.pl
patch
|
blob
|
history
diff --git
a/sql/Pg-upgrade2/defaults_datev_check.pl
b/sql/Pg-upgrade2/defaults_datev_check.pl
index
175da42
..
956bc81
100644
(file)
--- 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;
}