01_FHEMWEB.pm: fix attr notification (Forum #52379)

git-svn-id: https://svn.fhem.de/fhem/trunk@11325 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-04-27 09:08:23 +00:00
parent b01e1cd193
commit 809e798b7e

View File

@@ -2509,7 +2509,7 @@ FW_Notify($$)
if($dev->{CHANGED}) {
$dn = $1 if($dev->{CHANGED}->[0] =~ m/^MODIFIED (.*)$/);
if($dev->{CHANGED}->[0] =~ m/^ATTR ([^ ]+) ([^ ]+.*) (.*)$/) {
if($dev->{CHANGED}->[0] =~ m/^ATTR ([^ ]+) ([^ ]+) (.*)$/) {
$dn = $1;
my @a = ("$2: $3");
$events = \@a;