2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

33_readingsGroup.pm: fixed uninitialized value warning

git-svn-id: https://svn.fhem.de/fhem/trunk@7479 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-01-09 12:00:47 +00:00
parent 0d75b6b4e3
commit e2248578a3

View File

@ -96,7 +96,7 @@ readingsGroup_updateDevices($;$)
} else {
my @device = split(":", $param);
if( $device[1] =~ m/^FILTER=/ ) {
if( $device[1] && $device[1] =~ m/^FILTER=/ ) {
my $devspec = shift(@device);
while( @device && $device[0] =~ m/^FILTER=/ ) {
$devspec .= ":";