mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
FB_CALLMONITOR: remove trailing hash codes only if external number does not start with * (Forum: #85761)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16482 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fae7543cb6
commit
aa9cde93b5
@ -416,7 +416,7 @@ FB_CALLMONITOR_Read($)
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Remove trailing hash sign and everything afterwards
|
# Remove trailing hash sign and everything afterwards
|
||||||
$external_number =~ s/#.*$//;
|
$external_number =~ s/#.*$// unless($external_number =~ /^\*/); # Forum #85761
|
||||||
|
|
||||||
$reverse_search = FB_CALLMONITOR_reverseSearch($hash, $external_number) if(AttrVal($name, "reverse-search", "none") ne "none");
|
$reverse_search = FB_CALLMONITOR_reverseSearch($hash, $external_number) if(AttrVal($name, "reverse-search", "none") ne "none");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user