mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +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:
parent
c61310b03b
commit
4916a24f18
@ -5265,6 +5265,7 @@ sub
|
|||||||
json2nameValue($;$$$$)
|
json2nameValue($;$$$$)
|
||||||
{
|
{
|
||||||
my ($in, $prefix, $map, $filter, $negFilter) = @_;
|
my ($in, $prefix, $map, $filter, $negFilter) = @_;
|
||||||
|
return if(!$in); # 122048
|
||||||
$prefix = "" if(!defined($prefix));
|
$prefix = "" if(!defined($prefix));
|
||||||
my %ret;
|
my %ret;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user