2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 14:04:15 +00:00

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:
justme-1968 2014-12-02 11:58:08 +00:00
parent 8b42485e9c
commit 227b5b1ac4

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);