01_FHEMWEB: fix unintentional dropdown in room overview. (Forum #30174)

git-svn-id: https://svn.fhem.de/fhem/trunk@7176 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-12-09 19:11:36 +00:00
parent b072fd9e8b
commit 78d6b409e4

View File

@@ -1340,7 +1340,7 @@ FW_showRoom()
foreach my $cmd (split(":", $cmdlist)) {
my $htmlTxt;
my @c = split(' ', $cmd); # @c==0 if $cmd==" ";
if(int(@c) && $allSets && $allSets =~ m/$c[0]:([^ ]*)/) {
if(int(@c) && $allSets && $allSets =~ m/\b$c[0]:([^ ]*)/) {
my $values = $1;
foreach my $fn (sort keys %{$data{webCmdFn}}) {
no strict "refs";