mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 20:24:36 +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:
parent
9fa06baa62
commit
f10866c48d
@ -1076,7 +1076,8 @@ FW_showRoom()
|
|||||||
if(!$FW_ss && $cmdlist) {
|
if(!$FW_ss && $cmdlist) {
|
||||||
foreach my $cmd (split(":", $cmdlist)) {
|
foreach my $cmd (split(":", $cmdlist)) {
|
||||||
my $htmlTxt;
|
my $htmlTxt;
|
||||||
if($allSets && $allSets =~ m/$cmd:([^ ]*)/) {
|
my @c = split(' ', $cmd);
|
||||||
|
if($allSets && $allSets =~ m/$c[0]:([^ ]*)/) {
|
||||||
my $values = $1;
|
my $values = $1;
|
||||||
foreach my $fn (sort keys %{$data{webCmdFn}}) {
|
foreach my $fn (sort keys %{$data{webCmdFn}}) {
|
||||||
no strict "refs";
|
no strict "refs";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user