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