2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 14:16:42 +00:00

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 9fa06baa62
commit f10866c48d

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