diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 297a7a9db..bf41c1b5c 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -5265,6 +5265,7 @@ sub json2nameValue($;$$$$) { my ($in, $prefix, $map, $filter, $negFilter) = @_; + return if(!$in); # 122048 $prefix = "" if(!defined($prefix)); my %ret;