mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
fhem.pl: change attr -r (Forum #98692)
git-svn-id: https://svn.fhem.de/fhem/trunk@18950 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5c70f26052
commit
0faa399001
@ -2873,7 +2873,7 @@ CommandAttr($$)
|
||||
}
|
||||
if($remove && $attr{$sdev} && $attr{$sdev}{$attrName}) {
|
||||
my $v = $attr{$sdev}{$attrName};
|
||||
$v =~ s/\s*$attrVal\s*//;
|
||||
$v =~ s/\b$attrVal\b//;
|
||||
$attrVal = $v;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user