1
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-07 22:29:19 +00:00

devStateIcon 0 fix

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2918 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-03-15 11:21:05 +00:00
parent db1310529c
commit 73f48ac254

View File

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