mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +00:00
devStateIcon 0 fix
git-svn-id: https://svn.fhem.de/fhem/trunk@2918 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fd66886f56
commit
b97b8d5e9b
@ -2280,7 +2280,7 @@ FW_dev2image($)
|
|||||||
my @list = split(" ", $devStateIcon);
|
my @list = split(" ", $devStateIcon);
|
||||||
foreach my $l (@list) {
|
foreach my $l (@list) {
|
||||||
my ($re, $iconName, $link) = split(":", $l, 3);
|
my ($re, $iconName, $link) = split(":", $l, 3);
|
||||||
if($re && $state =~ m/^$re$/) {
|
if(defined($re) && $state =~ m/^$re$/) {
|
||||||
if($iconName eq "") {
|
if($iconName eq "") {
|
||||||
$rlink = $link;
|
$rlink = $link;
|
||||||
last;
|
last;
|
||||||
|
Loading…
Reference in New Issue
Block a user