small bug fix for string comparison
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user