2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

CUL_HM:allow deleteattr for any

git-svn-id: https://svn.fhem.de/fhem/trunk@11646 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2016-06-11 10:06:00 +00:00
parent a766508275
commit 1fbab9c1d2

View File

@ -595,7 +595,7 @@ sub CUL_HM_Rename($$$) {#############################
}
sub CUL_HM_Attr(@) {#################################
my ($cmd,$name, $attrName,$attrVal) = @_;
my $chk = CUL_HM_AttrCheck($name, $attrName);
my $chk = ($cmd eq "set")?CUL_HM_AttrCheck($name, $attrName):"";
my $hash = CUL_HM_name2Hash($name);
return $chk if ($chk);