33_readingsGroup.pm: fixed uninitialized value warning

git-svn-id: https://svn.fhem.de/fhem/trunk@7117 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-12-02 11:58:08 +00:00
parent f2ab007868
commit 28ca36c1a3

View File

@@ -712,7 +712,7 @@ readingsGroup_2html($)
last if(defined($htmlTxt));
}
if( $htmlTxt =~ m/<td colspan='2'>(.*)<\/td>/s ) {
if( $htmlTxt && $htmlTxt =~ m/<td colspan='2'>(.*)<\/td>/s ) {
$v = $1;
my $mapped = lookup($hash->{helper}{mapping},$name,$a,$set,"",$room,$group,$cell_row,undef);