devStateIcon 0 fix
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2918 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -2280,7 +2280,7 @@ FW_dev2image($)
|
||||
my @list = split(" ", $devStateIcon);
|
||||
foreach my $l (@list) {
|
||||
my ($re, $iconName, $link) = split(":", $l, 3);
|
||||
if($re && $state =~ m/^$re$/) {
|
||||
if(defined($re) && $state =~ m/^$re$/) {
|
||||
if($iconName eq "") {
|
||||
$rlink = $link;
|
||||
last;
|
||||
|
||||
Reference in New Issue
Block a user