2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +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:
rudolfkoenig 2013-03-15 11:21:05 +00:00
parent fd66886f56
commit b97b8d5e9b

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;