From 7bb05d20796c8967a66f251aace15197f8bcc96b Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sat, 1 Dec 2012 01:07:00 +0000 Subject: [PATCH] send always an external_name reading (also in "unknown" and "timeout" cases) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2235 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/72_FB_CALLMONITOR.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FHEM/72_FB_CALLMONITOR.pm b/FHEM/72_FB_CALLMONITOR.pm index 64089a6fe..8eba2e74e 100755 --- a/FHEM/72_FB_CALLMONITOR.pm +++ b/FHEM/72_FB_CALLMONITOR.pm @@ -231,7 +231,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse- if(AttrVal($name, "reverse-search-cache", "0") eq "1") { $hash->{helper}{CACHE}{$number} = "timeout"; - return undef; + return "timeout"; } } else @@ -256,7 +256,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse- if(AttrVal($name, "reverse-search-cache", "0") eq "1") { $hash->{helper}{CACHE}{$number} = "timeout"; - return undef; + return "timeout"; } } @@ -276,7 +276,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse- # If no result is available set cache result and return undefined $hash->{helper}{CACHE}{$number} = "unknown"; -return undef +return "unknown"; }