mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +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:
parent
3aa9daca0f
commit
746be9e3b4
@ -934,11 +934,11 @@ sub GetSetData { ## no cri
|
|||||||
|
|
||||||
for my $k (keys %{$subs{$name}}) {
|
for my $k (keys %{$subs{$name}}) {
|
||||||
next if(!$subs{$name}{$k}{doit});
|
next if(!$subs{$name}{$k}{doit});
|
||||||
if(!$subs{$name}{$k}{func}) {
|
no strict "refs"; ## no critic 'NoStrict'
|
||||||
Log3 ($name, 2, qq{$name - WARNING - function $k -> ".$subs{$name}{$k}{func}." doesn't exist and is ignored });
|
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;
|
next;
|
||||||
}
|
}
|
||||||
no strict "refs"; ## no critic 'NoStrict'
|
|
||||||
($errstate,$state,$reread,$retry) = &{$subs{$name}{$k}{func}} ({ name => $name,
|
($errstate,$state,$reread,$retry) = &{$subs{$name}{$k}{func}} ({ name => $name,
|
||||||
ua => $ua,
|
ua => $ua,
|
||||||
state => $state,
|
state => $state,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user