mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 09:55:38 +00:00
01_FHEMWEB.pm: allow icons named 0 (Forum #131449)
git-svn-id: https://svn.fhem.de/fhem/trunk@27033 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f86aee3761
commit
1f458d49d2
@ -3360,7 +3360,7 @@ FW_devState($$@)
|
||||
$txt = $state;
|
||||
my ($icon, $isHtml);
|
||||
($icon, $link, $isHtml) = FW_dev2image($d,$state);
|
||||
$txt = ($isHtml ? $icon : FW_makeImage($icon, $state)) if($icon);
|
||||
$txt = ($isHtml ? $icon : FW_makeImage($icon, $state)) if(defined($icon));
|
||||
|
||||
my $cmdlist = (defined($link) ? $link : "");
|
||||
my $h = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user