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:
parent
07a1c95187
commit
b1ef3eb088
@ -556,7 +556,7 @@ readingsGroup_2html($)
|
||||
$first = 0;
|
||||
next;
|
||||
} else {
|
||||
if( $regex =~ m/(.*)@(.*)/ ) {
|
||||
if( $regex && $regex =~ m/(.*)@(.*)/ ) {
|
||||
$regex = $1;
|
||||
$name = $2;
|
||||
if( $name =~ m/^{(.*)}$/ ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user