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

git-svn-id: https://svn.fhem.de/fhem/trunk@3110 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-04-24 09:51:31 +00:00
parent 6635391ce4
commit 3ee0bb273b

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";