2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 20:57:11 +00:00

fhem.pl: do not report error if the input is empty (Forum #122048)

git-svn-id: https://svn.fhem.de/fhem/trunk@24776 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-07-19 13:16:44 +00:00
parent c61310b03b
commit 4916a24f18

View File

@ -5265,6 +5265,7 @@ sub
json2nameValue($;$$$$)
{
my ($in, $prefix, $map, $filter, $negFilter) = @_;
return if(!$in); # 122048
$prefix = "" if(!defined($prefix));
my %ret;