mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
Remove undefined messages in case there is no icon
git-svn-id: https://svn.fhem.de/fhem/trunk@1748 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dd141ae963
commit
98bc0176b2
@ -407,6 +407,7 @@ FW_AnswerCall($)
|
||||
$icon = FW_dev2image($icon);
|
||||
#Debug "We do not have it and thus use $icon which is " . $FW_icons{$icon};
|
||||
$cachable = 0;
|
||||
return 0 if(!$icon);
|
||||
}
|
||||
$FW_icons{$icon} =~ m/(.*)\.(gif|jpg|png)/;
|
||||
my ($file,$ext)= ($1,$2);
|
||||
|
Loading…
Reference in New Issue
Block a user