mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fixing creating cache values even when cache is disabled
git-svn-id: https://svn.fhem.de/fhem/trunk@2452 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1b612f3aec
commit
cc06ee5fdc
@ -386,10 +386,14 @@ if(AttrVal($name, "reverse-search", "none") eq "search.ch")
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if(AttrVal($name, "reverse-search-cache", "0") eq "1")
|
||||||
# If no result is available set cache result and return undefined
|
{
|
||||||
$hash->{helper}{CACHE}{$number} = "unknown";
|
# If no result is available set cache result and return undefined
|
||||||
return "unknown";
|
$hash->{helper}{CACHE}{$number} = "unknown";
|
||||||
|
}
|
||||||
|
|
||||||
|
return undef;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub FB_CALLMONITOR_html2txt($)
|
sub FB_CALLMONITOR_html2txt($)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user