2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +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:
rudolfkoenig 2013-08-10 08:51:31 +00:00
parent 587bd463ab
commit 9ccb9973f5

View File

@ -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);
}