mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
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: https://svn.fhem.de/fhem/trunk@7136 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d81fc80340
commit
f2cbe39719
@ -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}}) {
|
||||
|
Loading…
Reference in New Issue
Block a user