mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +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;
|
$first = 0;
|
||||||
next;
|
next;
|
||||||
} else {
|
} else {
|
||||||
if( $regex =~ m/(.*)@(.*)/ ) {
|
if( $regex && $regex =~ m/(.*)@(.*)/ ) {
|
||||||
$regex = $1;
|
$regex = $1;
|
||||||
$name = $2;
|
$name = $2;
|
||||||
if( $name =~ m/^{(.*)}$/ ) {
|
if( $name =~ m/^{(.*)}$/ ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user