From 531792f15235af3ebf7ee3370a5c1cbe6d06fa65 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Thu, 17 Jan 2019 15:27:18 +0000 Subject: [PATCH] betateilchen: debug code git-svn-id: https://svn.fhem.de/fhem/trunk@18299 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/betateilchen/debug/configDB.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/contrib/betateilchen/debug/configDB.pm b/fhem/contrib/betateilchen/debug/configDB.pm index 863d4ce2d..cf4a4fc81 100644 --- a/fhem/contrib/betateilchen/debug/configDB.pm +++ b/fhem/contrib/betateilchen/debug/configDB.pm @@ -212,9 +212,9 @@ my ($err,@config); return 0 if ($err); -@config = map { $_ =~ s/^\s+|\s+$//g; } @config; -@config = map { $_ =~ s/;$/;;/;} @config; -@config = map { $_ ? $_ : () } @config; +@config = map { $_ =~ s/^\s+|\s+$//g; } @config; +@config = map { $_ =~ s/;$/;;/;} @config; +@config = map { $_ ? $_ : (); } @config; use Data::Dumper; print Dumper @config;