mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
98_DOIF.pm: fixed: itimer Regex-Check
git-svn-id: https://svn.fhem.de/fhem/trunk@18351 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
06c58577ce
commit
793072dc5e
@ -2015,7 +2015,7 @@ sub CheckiTimerDoIf($$$) {
|
|||||||
my $found;
|
my $found;
|
||||||
return 1 if ($itimer =~ /\[$device(\]|,.+\])/);
|
return 1 if ($itimer =~ /\[$device(\]|,.+\])/);
|
||||||
for (my $j = 0; $j < $max; $j++) {
|
for (my $j = 0; $j < $max; $j++) {
|
||||||
if ($eventa->[$j] =~ "^(.+): ") {
|
if ($eventa->[$j] =~ "^([^:]+): ") {
|
||||||
$found = ($itimer =~ /\[$device:$1(\]|:.+\]|,.+\])/);
|
$found = ($itimer =~ /\[$device:$1(\]|:.+\]|,.+\])/);
|
||||||
if ($found) {
|
if ($found) {
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user