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

fhem.pl: enable disableNotifyFn and more (Forum #121631)

git-svn-id: https://svn.fhem.de/fhem/trunk@24650 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-06-17 18:21:46 +00:00
parent 1bd4ea3592
commit 467d7e6b19

View File

@ -3882,7 +3882,7 @@ CallFn(@)
return undef; return undef;
} }
my $fn = $modules{$defs{$d}{TYPE}}{$n}; my $fn = $modules{$defs{$d}{TYPE}}{$n};
return "" if(!$fn); return "" if(!$fn || $defs{$d}{"disable$n"}); #121631
if(wantarray) { if(wantarray) {
no strict "refs"; no strict "refs";
my @ret = &{$fn}(@_); my @ret = &{$fn}(@_);