2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 07:19:24 +00:00

01_FHEMWEB.pm: fix warning for global SAVE (Forum #49407)

git-svn-id: https://svn.fhem.de/fhem/trunk@10972 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-03-02 09:16:02 +00:00
parent f3bdb2c12e
commit 3bcbef3164

View File

@ -2563,6 +2563,7 @@ FW_Notify($$)
if($events->[$i] !~ /: /) {
if($dev->{NAME} eq 'global') { # Forum #47634
my($type,$args) = split(' ', $events->[$i], 2);
$args = "" if(!defined($args)); # global SAVE
push @data, FW_longpollInfo($h->{fmt}, "$dn-$type", $args, $args);
}