X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/245d5036b6fbc2c9e4692244aff22d5188771e09..fc1e67b429bb959ab60bd50d144c0a51fbc4b292:/sql/Pg-upgrade2/umstellung_eur.pl diff --git a/sql/Pg-upgrade2/umstellung_eur.pl b/sql/Pg-upgrade2/umstellung_eur.pl index cf93d76c6..0b8840079 100644 --- a/sql/Pg-upgrade2/umstellung_eur.pl +++ b/sql/Pg-upgrade2/umstellung_eur.pl @@ -30,7 +30,7 @@ sub run { # check current configuration and set default variables accordingly, so that # kivitendo behaviour isn't changed by this update - if ($::lx_office_conf{system}->{eur} == 0 ) { + if (!defined $::lx_office_conf{system}->{eur} || $::lx_office_conf{system}->{eur} == 0 ) { $accounting_method = 'accrual'; $inventory_system = 'perpetual'; $profit_determination = 'balance';