From 6f6cbc0095542b34d17b9976f2d9750cd93c375d Mon Sep 17 00:00:00 2001 From: justme1968 Date: Sat, 6 Dec 2014 00:11:31 +0000 Subject: [PATCH] 37_harmony.pm: one more fix for escapeing of special characters in activity and device names. see: http://forum.fhem.de/index.php/topic,14163.msg227083.html#msg227083 git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7136 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/37_harmony.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/37_harmony.pm b/fhem/FHEM/37_harmony.pm index e2ebc540a..621489587 100644 --- a/fhem/FHEM/37_harmony.pm +++ b/fhem/FHEM/37_harmony.pm @@ -156,7 +156,7 @@ harmony_idOfActivity($$;$) my ($hash, $label, $default) = @_; my $quoted_label = $label; - #$quoted_label =~ s/\./ /g; + $quoted_label =~ s/\./ /g; $quoted_label = quotemeta($quoted_label); foreach my $activity (@{$hash->{config}->{activity}}) { @@ -195,7 +195,7 @@ harmony_idOfDevice($$;$) my ($hash, $label, $default) = @_; my $quoted_label = $label; - #$quoted_label =~ s/\./ /g; + $quoted_label =~ s/\./ /g; $quoted_label = quotemeta($quoted_label); foreach my $device (@{$hash->{config}->{device}}) {