fixed warning for uninitialized value in pattern match
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6262 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -556,7 +556,7 @@ readingsGroup_2html($)
|
||||
$first = 0;
|
||||
next;
|
||||
} else {
|
||||
if( $regex =~ m/(.*)@(.*)/ ) {
|
||||
if( $regex && $regex =~ m/(.*)@(.*)/ ) {
|
||||
$regex = $1;
|
||||
$name = $2;
|
||||
if( $name =~ m/^{(.*)}$/ ) {
|
||||
|
||||
Reference in New Issue
Block a user