Remove the * from the state when setting dummy values in FHEMWEB

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3343 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-06-27 14:19:47 +00:00
parent ac863380ac
commit 5c871b0ab6
2 changed files with 2 additions and 2 deletions

View File

@@ -749,7 +749,7 @@ FW_makeSelect($$$$)
return if(!$list || $FW_hiddenroom{input});
my @al = sort map { s/:.*//;$_ } split(" ", $list);
my $selEl = $al[0];
my $selEl = (defined($al[0]) ? $al[0] : " ");
$selEl = $1 if($list =~ m/([^ ]*):slider,/); # promote a slider if available
$selEl = "room" if($list =~ m/room:/);

View File

@@ -23,7 +23,7 @@ dummy_Set($@)
my $name = shift @a;
return "no set value specified" if(int(@a) < 1);
my $setList = AttrVal($name, "setList", "*");
my $setList = AttrVal($name, "setList", " ");
return "Unknown argument ?, choose one of $setList" if($a[0] eq "?");
my $v = join(" ", @a);