2
0
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:
rudolfkoenig 2012-07-21 11:39:47 +00:00
parent dd141ae963
commit 98bc0176b2

View File

@ -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);