fixing creating cache values even when cache is disabled
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2452 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -386,10 +386,14 @@ if(AttrVal($name, "reverse-search", "none") eq "search.ch")
|
||||
}
|
||||
|
||||
|
||||
|
||||
# If no result is available set cache result and return undefined
|
||||
$hash->{helper}{CACHE}{$number} = "unknown";
|
||||
return "unknown";
|
||||
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";
|
||||
}
|
||||
|
||||
return undef;
|
||||
|
||||
}
|
||||
|
||||
sub FB_CALLMONITOR_html2txt($)
|
||||
|
||||
Reference in New Issue
Block a user