mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
fhem.pl: get returning 0 will not be ignored
git-svn-id: https://svn.fhem.de/fhem/trunk@3660 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
587bd463ab
commit
9ccb9973f5
@ -1286,7 +1286,7 @@ CommandGet($$)
|
||||
|
||||
$a[0] = $sdev;
|
||||
my $ret = CallFn($sdev, "GetFn", $defs{$sdev}, @a);
|
||||
push @rets, $ret if($ret);
|
||||
push @rets, $ret if(defined($ret) && $ret ne "");
|
||||
}
|
||||
return join("\n", @rets);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user