mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 14:46:24 +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 = "-" if($attrName eq "logfile");
|
||||||
$attrVal = 5 if($attrName eq "verbose");
|
$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) {
|
if($ret) {
|
||||||
push @rets, $ret;
|
push @rets, $ret;
|
||||||
next;
|
next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user