mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhem.pl: fix AttrFn calling again (Forum #83541)
git-svn-id: https://svn.fhem.de/fhem/trunk@16049 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
060bcb9298
commit
861feb993e
@ -2808,7 +2808,7 @@ CommandAttr($$)
|
||||
$attrVal = "-" if($attrName eq "logfile");
|
||||
$attrVal = 5 if($attrName eq "verbose");
|
||||
}
|
||||
$ret = CallFn($sdev, "AttrFn", "set", $a[0], $attrName, $attrVal);
|
||||
$ret = CallFn($sdev, "AttrFn", "set", $sdev, $attrName, $attrVal);
|
||||
if($ret) {
|
||||
push @rets, $ret;
|
||||
next;
|
||||
|
Loading…
Reference in New Issue
Block a user