mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
PRESENCE: fix possible stacktrace (Forum: #83805)
git-svn-id: https://svn.fhem.de/fhem/trunk@16077 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
69636c47ca
commit
1b07d79702
@ -1146,7 +1146,7 @@ sub PRESENCE_ProcessLocalScan($)
|
||||
#Schedule the next check within $timeout if it is a regular run
|
||||
if($local eq "0")
|
||||
{
|
||||
my $seconds = ($a[2] eq "present" ? $hash->{INTERVAL_PRESENT} : $hash->{INTERVAL_NORMAL});
|
||||
my $seconds = (($a[2] eq "present") ? $hash->{INTERVAL_PRESENT} : $hash->{INTERVAL_NORMAL});
|
||||
|
||||
$seconds = $hash->{INTERVAL_OVERRIDED} if($hash->{INTERVAL_OVERRIDED});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user