mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
small bug fix for string comparison
git-svn-id: https://svn.fhem.de/fhem/trunk@3288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0319f3f7cf
commit
6cc1746ba6
@ -2249,7 +2249,7 @@ FW_dev2image($)
|
||||
if($devStateIcon =~ m/^{.*}$/) {
|
||||
my ($html, $link) = eval $devStateIcon;
|
||||
Log 1, "devStateIcon $name: $@" if($@);
|
||||
return ($link, undef, 1) if(defined($html) && $html == "");
|
||||
return ($link, undef, 1) if(defined($html) && $html eq "");
|
||||
return ($html, $link, 1) if(defined($html));
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user