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

fhem.pl: delete attributes with widget specifier

git-svn-id: https://svn.fhem.de/fhem/trunk@17238 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-08-31 05:45:01 +00:00
parent 03eb7d4ccc
commit 89dcef09d3

View File

@ -3973,7 +3973,7 @@ delFromDevAttrList($$)
$attr{$dev}{userattr} = join(" ", sort keys %hash);
delete $attr{$dev}{userattr}
if(!keys %hash && defined($attr{$dev}{userattr}));
map { delete $attr{$dev}{$_} } split(" ", $arg);
map { delete $attr{$dev}{$_} } split(" ", (split(":", $arg))[0]);
}