From 40eb5e8b575ed7baa75554cda4a3096e04395d9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 29 May 2015 14:54:51 +0200 Subject: [PATCH] =?utf8?q?DBUpgrade2:=20Warnings=20in=20Tests=20unterdr?= =?utf8?q?=C3=BCcken?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sql/Pg-upgrade2/umstellung_eur.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.20.1