Take only the first part of a cmd for webCmdFn (as requested by andre)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3110 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-04-24 09:51:31 +00:00
parent f55836f024
commit 23ec1f5890

View File

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