2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-27 10:37:13 +00:00

fixed warning for uninitialized value in pattern match

git-svn-id: https://svn.fhem.de/fhem/trunk@6262 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-07-16 07:46:03 +00:00
parent 07a1c95187
commit b1ef3eb088

View File

@ -556,7 +556,7 @@ readingsGroup_2html($)
$first = 0;
next;
} else {
if( $regex =~ m/(.*)@(.*)/ ) {
if( $regex && $regex =~ m/(.*)@(.*)/ ) {
$regex = $1;
$name = $2;
if( $name =~ m/^{(.*)}$/ ) {