2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

70_PHTV.pm: fix strange special characters in channel names, forum #topic,21109.msg428689

git-svn-id: https://svn.fhem.de/fhem/trunk@11115 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-03-23 10:09:50 +00:00
parent fd438d6de1
commit 842f21d7d9

View File

@ -2076,6 +2076,7 @@ sub PHTV_ReceiveCommand($$$) {
$channel_name =~ s/\s+$//;
$channel_name =~ s/\s/_/g;
$channel_name =~ s/,/./g;
$channel_name =~ s///g;
if ( $channel_name ne "" ) {
$hash->{helper}{device}{channelName}{$channel}{name} =
$channel_name;