2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +00:00

76_SMAPortal: contrib 3.2.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22284 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-06-27 10:35:48 +00:00
parent 3aa9daca0f
commit 746be9e3b4

View File

@ -933,12 +933,12 @@ sub GetSetData { ## no cri
if($getp ne "none") {
for my $k (keys %{$subs{$name}}) {
next if(!$subs{$name}{$k}{doit});
if(!$subs{$name}{$k}{func}) {
Log3 ($name, 2, qq{$name - WARNING - function $k -> ".$subs{$name}{$k}{func}." doesn't exist and is ignored });
next if(!$subs{$name}{$k}{doit});
no strict "refs"; ## no critic 'NoStrict'
if(!defined &{$subs{$name}{$k}{func}}) {
Log3 ($name, 2, qq{$name - WARNING - data provider '$k' call function '$subs{$name}{$k}{func}' doesn't exist and is ignored });
next;
}
no strict "refs"; ## no critic 'NoStrict'
($errstate,$state,$reread,$retry) = &{$subs{$name}{$k}{func}} ({ name => $name,
ua => $ua,
state => $state,