mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
01_FHEMWEB.pm: add ^$ to the roomIcon regexp
git-svn-id: https://svn.fhem.de/fhem/trunk@15328 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
74a8a3fc50
commit
5a9d6e5263
@ -1615,7 +1615,7 @@ FW_roomOverview($)
|
||||
|
||||
# image tag if we have an icon, else empty
|
||||
my $icoName = "ico$l1";
|
||||
map { my ($n,$v) = split(":",$_); $icoName=$v if($l1 =~ m/$n/); }
|
||||
map { my ($n,$v) = split(":",$_); $icoName=$v if($l1 =~ m/^$n$/); }
|
||||
split(" ", AttrVal($FW_wname, "roomIcons", ""));
|
||||
my $icon = FW_iconName($icoName) ?
|
||||
FW_makeImage($icoName,$icoName,"icon")." " : "";
|
||||
|
Loading…
Reference in New Issue
Block a user